Skip to content

Lookup staff types (paged)

Request

🔐 Required role: STF_TYP_R or STF_TYP_C

📖 Data dictionary: Staff

Lookup staff types page by page

Returns a page of staff types ordered by id ascending.

Notes:

  • pageSize must be between 1 and 100
  • page is zero-based (page 0 is the first page)
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
Bodyapplication/jsonrequired
pageSizeinteger, (int32)

Pagesize

pageinteger, (int32)

Page

curl -i -X POST \
  https://api.sandbox.aiwyn.app/api/v1/staff/type/batch/lookup \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
  -H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "pageSize": 25,
    "page": 0
  }'

Responses

Lookup completed successfully

Bodyapplication/json
pageSizeinteger, (int32)required

Pagesize

pageinteger, (int32)required

Page

returnedinteger, (int32)required

Returned

totalinteger, (int64)required

Total

recordsArray of objectsrequired

Records

Response
{ "pageSize": 0, "page": 0, "returned": 0, "total": 0, "records": [ { … } ] }