Skip to content

Query Staff-Department Relationships in Batches

Request

Security
bearerAuth
Query
viewKeystringrequired
Example:viewKey=
Bodyapplication/json
bodyobjectrequired

Request body

curl -i -X POST \
  'https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/department_staff_relation/searchAfter?viewKey=' \
  -H 'Authorization: Bearer <YOUR_Access Token_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "body": {
      "conditions": {
        "id": {
          "conditionType": "FILTER",
          "filter": [
            "string"
          ]
        }
      },
      "sorts": [
        {
          "sortOrder": "ASC",
          "sortFieldKey": "string"
        }
      ],
      "extendFieldParams": [
        {
          "conditionType": "NONE",
          "filter": [
            "string"
          ],
          "value": "string",
          "timeRange": {
            "start": "string",
            "end": "string"
          },
          "key": "string"
        }
      ],
      "boundaryIds": [
        "string"
      ],
      "length": 1
    }
  }'

Responses

Headers
any
Bodyapplication/json
codeinteger
messagestring
dataobject
Response
{ "code": 0, "message": "string", "data": { "list": [ … ], "start": 0, "length": 0, "recordsTotal": 0, "boundaryIds": [ … ] } }