document
v1
PATCH /api/v1/document/document-notes/{id}/
Changed onPartial Update Document Note
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
A unique integer value identifying this document note.
Request body
Example request
{
"field_id": "field_id",
"note": "note",
"selections": [
"{}",
"{}"
],
"location_start": -1517921766,
"location_end": 413233370,
"pk": 0,
"field_value_id": 2,
"document_id": 5,
"user": {
"initials": "initials",
"name": "name",
"last_name": "last_name",
"photo": "photo",
"pk": 6,
"first_name": "first_name",
"username": "username"
},
"timestamp": "2000-01-23T04:56:07.000+00:00"
}Response
Example response
{
"field_id": "field_id",
"note": "note",
"selections": [
"{}",
"{}"
],
"location_start": -1517921766,
"location_end": 413233370,
"pk": 0,
"field_value_id": 2,
"document_id": 5,
"user": {
"initials": "initials",
"name": "name",
"last_name": "last_name",
"photo": "photo",
"pk": 6,
"first_name": "first_name",
"username": "username"
},
"timestamp": "2000-01-23T04:56:07.000+00:00"
}Changes
- info
added the new optional request property
/(media type: application/json) - info
added the new optional request property
/(media type: application/x-www-form-urlencoded) - info
added the new optional request property
/(media type: multipart/form-data) - info
added the optional property
/to the response with the status
- info
- warning
removed the request property
/(media type: application/json) - warning
removed the request property
/(media type: application/x-www-form-urlencoded) - warning
removed the request property
/(media type: multipart/form-data) - warning
removed the optional property
/from the response with the status - info
added the optional property
to the response with the status
- warning