Hi everybody,
I try to edit an internal entity in VI 10.5 with this request (I'm using postman):
curl -X PUT \
https://<tenant-name>/svi-datahub/documents/test_modification/8ce7a94a-576f-4a93-9332-825afb52ad68 \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <access_token' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'X-CSRF-TOKEN: ebd81d8d-2b98-4d70-a7d0-361781a6264d' \
-d '{"objectTypeId": 120819,"objectTypeName": "test_modification","objectTypeVersion":12,"id": "8ce7a94a-576f-4a93-9332-825afb52ad68","fieldValues":{"created_at_dttm":"2019-07-24T13:08:35.718Z","created_by_user_id": "viadmin","last_updated_at_dttm": "2019-07-24T15:20:39.132Z", "last_updated_by_user_id": "viadmin","nom": "BALISTE","prenom":"Fred","dob":"2019-04-25","pob":"Lechnord","I_validation":"AUTO","test_modification_id": "8ce7a94a-576f-4a93-9332-825afb52ad68","version":4}}'
but without success. Postman output is that my "update request is no longer valid" and ask me to "get back the current state for the resource". I don't undestand what to do, any idea?
Any help would be greatly appreciated!
Regards,