v1

latestOpenAPI 3.0.22026-07-17373198641.7 KB
document
v1

Partial Update Document Note

patch/api/v1/document/document-notes/{id}/

Path parameters

idstring required

A unique integer value identifying this document note.

Request body

pkinteger
notestring required
timestampstring date-time
location_startinteger nullable
location_endinteger nullable
document_idinteger required
field_value_idinteger
field_idstring
selectionsobject[]

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

pkinteger
notestring required
timestampstring date-time
location_startinteger nullable
location_endinteger nullable
document_idinteger required
field_value_idinteger
field_idstring
selectionsobject[]

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"
}