cURL
curl --request PATCH \ --url https://api.perscom.io/{version}/rank-records/{rank_record} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": 123, "rank_id": 123, "type": 0, "document_id": 123, "author_id": 123, "text": "<string>" } '
{ "data": { "user_id": 123, "rank_id": 123, "type": 0, "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" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The API version to use.
v1
v2
attachments
author
author.*
comments
comments.*
document
rank
rank.image
user
user.*
0: Promotion, 1: Demotion, 2: Lateral, 3: Transfer
0
1
2
3
Supports HTML.
OK
Show child attributes
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?