PATCH
/
{version}
/
users
/
{user}
/
service-records
/
{service_record}
curl --request PATCH \
  --url https://api.perscom.io/{version}/users/{user}/service-records/{service_record} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": 123,
  "document_id": 123,
  "author_id": 123,
  "text": "<string>"
}'
{
  "data": {
    "id": 123,
    "user_id": 123,
    "document_id": 123,
    "author_id": 123,
    "text": "<string>",
    "label": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
user
integer
required
service_record
integer
required

Query Parameters

include
enum<string>
Available options:
attachments,
author,
author.*,
comments,
comments.*,
document

Body

application/json
user_id
integer
required
text
string
required

Supports HTML.

document_id
integer | null
author_id
integer | null

Response

200
application/json
OK
data
object