Update
PUT
bearerheader
AuthorizationBearer <token>Provide the username and password of the user
study-id*stringdocument-id*integerFormat
int32application/json- body
name*|Length
1 <= lengthdata*|nullOK
*/*- response
createdBy?string|nullcreatedAt?|Format
date-timeupdatedBy?string|nullupdatedAt?|Format
date-timeid?integerFormat
int32name*stringcollectionId*|Format
int32data?|nullcurl -X PUT 'https://dev.carp.dk/api/studies/string/documents/0' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "data": {}}'Example response
{ "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedAt": "2019-08-24T14:15:22Z", "id": 0, "name": "string", "collectionId": 0, "data": { "integralNumber": true, "missingNode": true, "floatingPointNumber": true, "nodeType": "ARRAY", "string": true, "textual": true, "boolean": true, "binary": true, "valueNode": true, "container": true, "object": true, "pojo": true, "short": true, "int": true, "long": true, "double": true, "bigDecimal": true, "bigInteger": true, "number": true, "array": true, "empty": true, "null": true, "float": true, "embeddedValue": true }}