List statuses
List users statuses on a specific day
Path Parameters
companyID companyID required
The id of the company
Query Parameters
date date required
The date to get statuses for (YYYY-MM-DD)
Responses
- 200
- 400
- 403
A list of statuses
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
items object[]
List of statuses/locations
id string
Unique ID of the status/location
name string
Name of the status/location
emoji string
Emoji of the status/location
capacity integer nullable
Capacity of the location
morningUsers string[]
List of users with this status/location in the morning
afternoonUsers string[]
List of users with this status/location in the afternoon
{
"items": [
{
"id": "2e8f9915-fda0-450c-95a3-d61f93c66fa9",
"name": "New York HQ",
"emoji": "🏢",
"capacity": 10,
"morningUsers": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"afternoonUsers": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
]
}
]
}
An error when a parameter is missing
application/json
Schema
Example (from schema)
Schema
message string
Error message
{
"message": "User not found"
}
An error when this date is not allowed
application/json
Schema
Example (from schema)
Schema
message string
Error message
{
"message": "User not found"
}
Loading...