Download OpenAPI specification:
orderBy | string Enum: "title" "vehicle_id" "start" "end" field to order by. Defaults to |
direction | string Enum: "ASC" "DESC" Sorting Direction |
from | string <date-time> Example: from=2023-09-29T08:00:00 Reservation Start-date |
to | string <date-time> Example: to=2023-09-29T08:00:00 Reservation End-date |
vehicle_ids | integer Example: vehicle_ids=1,2 Reservation Vehicle (Comma-seperated String) |
Accept required | string application/json |
[- {
- "id": 0,
- "title": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "costcenter": "string",
- "vehicle_id": 0,
- "location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "driver": [
- {
- "id": 0,
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24",
- "deleted_at": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
]
}
]
orderBy | string Enum: "title" "vehicle_id" "start" "end" field to order by. Defaults to |
direction | string Enum: "ASC" "DESC" Sorting Direction |
from | string <date-time> Example: from=2023-09-29T08:00:00 Reservation Start-date |
to | string <date-time> Example: to=2023-09-29T08:00:00 Reservation End-date |
vehicle_ids | integer Example: vehicle_ids=1,2 Reservation Vehicle (Comma-seperated String) |
Accept required | string application/json |
id | integer internal ID of Reservation |
title required | string Titel of the Reservation given by the user |
start required | string <date-time> Start of the Reservation (ISO-8601) |
end required | string <date-time> End of the Reservation (ISO-8601) |
costcenter | string The Costcenter attached to the reservation (as parsed from the title) |
vehicle_id required | integer ID of the assigned |
object (Location) Location | |
Array of objects (User) |
[- {
- "id": 0,
- "title": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "costcenter": "string",
- "vehicle_id": 0,
- "location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "driver": [
- {
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
]
}
]
[- {
- "id": 0,
- "title": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "costcenter": "string",
- "vehicle_id": 0,
- "location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "driver": [
- {
- "id": 0,
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24",
- "deleted_at": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
]
}
]
reservation_id required | string A unique identifier for a |
{- "id": 0,
- "title": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "costcenter": "string",
- "vehicle_id": 0,
- "location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "driver": [
- {
- "id": 0,
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24",
- "deleted_at": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
]
}
[- {
- "id": 1,
- "organisation_id": 1,
- "title": "Firmenfahrzeug 1",
- "licence_plate": "ZH 12345",
- "manufacturer": "BMW",
- "model": "118i",
- "description": "a short description",
- "base_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "current_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "vehicle_type": "PKW",
- "cv_id": 1,
- "cv_description": "Fahrzeug 1",
- "calender_id": 0,
- "calender_name": "string",
- "channel_id": "string",
- "hasElevatedCalenderPermissions": true,
- "profile_image": {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}, - "attachments": [
- {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}
]
}
]
organisation_id required | integer |
title required | string |
licence_plate | string or null |
manufacturer | string or null |
model | string or null |
description | string or null |
object (Location) Location | |
object (Location) Location | |
vehicle_type | string or null |
cv_id | integer or null |
calender_id | integer or null |
object (Media) Media Object | |
Array of objects (Media) |
[- {
- "organisation_id": 1,
- "title": "Firmenfahrzeug 1",
- "licence_plate": "ZH 12345",
- "manufacturer": "BMW",
- "model": "118i",
- "description": "a short description",
- "base_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "current_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "vehicle_type": "PKW",
- "cv_id": 1,
- "calender_id": 0,
- "profile_image": {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}, - "attachments": [
- {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}
]
}
]
[- {
- "id": 1,
- "organisation_id": 1,
- "title": "Firmenfahrzeug 1",
- "licence_plate": "ZH 12345",
- "manufacturer": "BMW",
- "model": "118i",
- "description": "a short description",
- "base_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "current_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "vehicle_type": "PKW",
- "cv_id": 1,
- "cv_description": "Fahrzeug 1",
- "calender_id": 0,
- "calender_name": "string",
- "channel_id": "string",
- "hasElevatedCalenderPermissions": true,
- "profile_image": {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}, - "attachments": [
- {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}
]
}
]
vehicle_id required | string A unique identifier for a |
{- "id": 1,
- "organisation_id": 1,
- "title": "Firmenfahrzeug 1",
- "licence_plate": "ZH 12345",
- "manufacturer": "BMW",
- "model": "118i",
- "description": "a short description",
- "base_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "current_location": {
- "lat": 47.36777809977779,
- "lon": 8.555399340730661,
- "description": "string",
- "directions": "string"
}, - "vehicle_type": "PKW",
- "cv_id": 1,
- "cv_description": "Fahrzeug 1",
- "calender_id": 0,
- "calender_name": "string",
- "channel_id": "string",
- "hasElevatedCalenderPermissions": true,
- "profile_image": {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}, - "attachments": [
- {
- "name": "filename",
- "public_url": "string",
- "extension": "jpg",
- "size": 40909,
- "isPublic": false
}
]
}
[- {
- "id": 0,
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24",
- "deleted_at": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
]
sendOnboardingMail | boolean Send onboarding Mail to newly created users (defaults to false) |
createIdentities | boolean Create Identites for newly created users (defaults to false) |
email required | string |
name | string |
active | boolean |
department | string |
remark | string |
remind_date | string <date> 2023-09-25 09:17:58 |
accepted_terms_and_conditions | string <date-time> |
verified | string <date-time> |
verified_by | integer |
register_mail_last_sent | string <date-time> |
status | integer |
Array of objects (Identity) | |
role | string Default: "User" Enum: "User" "Disponent" Title of the User-Role |
[- {
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
]
[- {
- "id": 0,
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24",
- "deleted_at": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
]
user_id required | string A unique identifier for a |
{- "id": 0,
- "email": "string",
- "name": "string",
- "active": true,
- "department": "string",
- "remark": "string",
- "remind_date": "2019-08-24",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24",
- "deleted_at": "2019-08-24",
- "accepted_terms_and_conditions": "2019-08-24T14:15:22Z",
- "verified": "2019-08-24T14:15:22Z",
- "verified_by": 0,
- "register_mail_last_sent": "2019-08-24T14:15:22Z",
- "status": 0,
- "identities": [
- {
- "identityDevice": "APP",
- "identityId": "string",
- "qrcode": "string",
- "deeplink": "string",
- "expiredata": "2019-08-24T14:15:22Z"
}
], - "role": "User"
}
orderBy | string Enum: "started_at" "ended_at" "updated_at" Example: orderBy=ended_at field to order by. Defaults to |
direction | string Enum: "ASC" "DESC" Example: direction=DESC Sorting Direction. Defaults to |
includeZero | integer Example: includeZero=1 include sessions with zero distance. Defaults to |
includeDeleted | integer Example: includeDeleted=1 include deleted sessions. Defaults to |
lastModified | string <date-time> Example: lastModified=2024-01-31T10:00:00 limits result to sessions whose |
[- {
- "id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": 0.1,
- "duration_driven": 0.1,
- "duration_before": 0.1,
- "usage_id": 0,
- "costcenter": "string",
- "distance_driven": 0,
- "private": true,
- "price_per_distance": "string",
- "price_per_time": "string",
- "title": "string",
- "reservation_id": 0,
- "user": {
- "id": 0,
- "name": "string",
- "email": "string"
}, - "vehicle": {
- "id": 0,
- "title": "string"
}
}
]