Departments
Absent in the office
Changed onHandle HTTP requests regarding Customers.
get/departments/{id}/not-in-office
Request
- Base URLhttps://hurma.work/api/v1
- Authnone declared. Required headers: token
- TypeScripthttps://skmtc.dev/hurma/apis/hurma-public-api-v1-endpoints/docs/departments/:id/not-in-office/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Department id
Query parameters
pageinteger
per_pageinteger
Headers
tokenstring required
Api token
Response
ОК
Example response
{
"result": {
"current_page": 1,
"data": [
{
"people_id": "Jx",
"day": "2020-03-16",
"type_id": 1,
"type_description": "string",
"status": "Approved"
}
],
"first_page_url": "https://hurma.work/api/path?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://hurma.work/api/path?page=1",
"next_page_url": "https://hurma.work/api/path?page=1",
"path": "https://hurma.work/api/path",
"per_page": 12,
"to": 4,
"total": 4
},
"code": 200
}Changes
- info
api operation id
670d52edab3ea3ab86bc7f7705478511was added
- info