Availability of Driver or Vehicle
Get the availability of Driver or Vehicle
Query Parameters
date string
drivers integer[]
group string
interval string
Responses
- 200
- 400
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
data object[]
is_overlap boolean
timelines array[]
vehicle object
id integer
license_plate string
errors object
property name* string[]
string
{
"data": [
{
"is_overlap": true,
"timelines": [
[
{
"driver": {
"id": 0,
"name": "string"
},
"end": "string",
"id": "string",
"number": "string",
"start": "string",
"status": {
"color": "string",
"name": "string"
},
"type": "string",
"vehicle": {
"id": 0,
"license_plate": "string"
}
}
]
],
"vehicle": {
"id": 0,
"license_plate": "string"
}
}
],
"errors": {}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
errors
errors_v2 object
formatted object
issues object[]
code string
expected
message string
path string[]
received
message string
{
"errors": {},
"errors_v2": {
"formatted": {},
"issues": [
{
"code": "string",
"expected": {},
"message": "string",
"path": [
"string"
],
"received": {}
}
]
},
"message": "string"
}
Loading...