Unavailability
A trailer 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 trailer.
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 trailer, which contains the unavailability.
Dashdoc's internal id
928Ignore. Dashdoc technical data
Dashdoc's internal id of the carrier owning the trailer
928License plate number
WE749RMYour trailer fleet number
TRAILER120The ID of the trailer in your system
tr123type1Date of creation on our server
2020-07-30T21:10:06.44551ZTrue if the trailer can be used for Qualimat transport (only used for visual help and warnings)
2020-12-22T15:31:39.26167ZOnly the 2-character codification is accepted (ISO 3166-1 alpha-2)
FRIgnore. Dashdoc technical data.
Successfully created the unavailability, returns the trailer, 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 trailer's primary key
The unavailability's primary key
Empty body
No content
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 trailer'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 trailer, which contains the unavailability.
Dashdoc's internal id
928Ignore. Dashdoc technical data
Dashdoc's internal id of the carrier owning the trailer
928License plate number
WE749RMYour trailer fleet number
TRAILER120The ID of the trailer in your system
tr123type1Date of creation on our server
2020-07-30T21:10:06.44551ZTrue if the trailer can be used for Qualimat transport (only used for visual help and warnings)
2020-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 trailer, which contains the unavailability.
Last updated
Was this helpful?