Unavailability
A vehicle can be marked as unavailable for a given period of time for various reasons. These unavailabilities are marked on the planning or can be accessed by API by fetching the vehicle.
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
The ID of the unavailability in your system
tr123type1Date of creation on our server
2020-07-30T21:10:06.44551ZStart date of the unavailability
2020-07-30T21:10:06.44551ZEnd date of the unavailability
2020-07-30T21:10:06.44551ZType of unavailability
Notes about the unavailability
I'm on vacationSuccessfully created the unavailability, returns the vehicle, which contains the unavailability.
Successfully created the unavailability, returns the vehicle, which contains the unavailability.
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
The vehicle's primary key
The unavailability's primary key
Empty body
Empty body
No content
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
The vehicle's primary key
The unavailability's primary key
The ID of the unavailability in your system
tr123type1Date of creation on our server
2020-07-30T21:10:06.44551ZStart date of the unavailability
2020-07-30T21:10:06.44551ZEnd date of the unavailability
2020-07-30T21:10:06.44551ZType of unavailability
Notes about the unavailability
I'm on vacationSuccessfully updated the unavailability, returns the vehicle, which contains the unavailability.
Dashdoc's internal id
928Dashdoc's internal id of the carrier owning the vehicle
928Vehicle category
tipper_cerealLicense plate number
WE749RMYour vehicle fleet number
TRUCK120The ID of the vehicle in your system
tr123type1Date of creation on our server
2020-07-30T21:10:06.44551ZTrue if the vehicle can be used for Qualimat transport (only used for visual help and warnings)
Ignore. Dashdoc technical data
402020-12-22T15:31:39.26167Z2020-12-22T15:31:39.26167Z2020-12-22T15:31:39.26167ZOnly the 2-character codification is accepted (ISO 3166-1 alpha-2)
FRIgnore. Dashdoc technical data.
Successfully updated the unavailability, returns the vehicle, which contains the unavailability.
Last updated
Was this helpful?