Skip to content

Who is off on a day

GET
/drivers/days-off
curl --request GET \
--url 'https://example.com/drivers/days-off?date=2026-04-15' \
--cookie bottle.session_token=<bottle.session_token>

Drivers marked as not out that day. Planning the whole day passes over them; planning one of them by hand still works.

date
required
string format: date

Off

Media typeapplication/json
object
date
required
string format: date
userIds
required
Array<string>
Examplegenerated
{
"date": "2026-04-15",
"userIds": [
"example"
]
}

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or without the permission this needs

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Validation failed

Media typeapplication/json
object
error
required
string
Allowed values: validation
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{
"error": "validation",
"issues": [
{
"path": "email",
"message": "Invalid email"
}
]
}