GET
/
{version}
/
assignment-records
curl --request GET \
  --url https://api.perscom.io/{version}/assignment-records \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "user_id": 123,
      "status_id": 123,
      "unit_id": 123,
      "position_id": 123,
      "specialty_id": 123,
      "document_id": 123,
      "author_id": 123,
      "type": "primary",
      "text": "<string>",
      "label": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  },
  "meta": {
    "current_page": 123,
    "from": 123,
    "last_page": 123,
    "path": "<string>",
    "per_page": 123,
    "to": 123,
    "total": 123
  }
}

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

Query Parameters

include
enum<string>
Available options:
attachments,
author,
author.*,
comments,
comments.*,
document,
position,
specialty,
status,
unit,
unit.*,
user,
user.*

Response

200
application/json
OK
data
object[]
meta
object