Unavailability
A trucker 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 trucker.
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 trucker, which contains the unavailability.
Successfully created the unavailability, returns the trucker, 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 trucker'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 trucker'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 trucker, which contains the unavailability.
Dashdoc's internal id.
23498Invite code trucker needs to connect to mobile app. The code is generated by Dashdoc.
Ignore. Dashdoc technical data.
180Ignore. Dashdoc technical data.
2.7.7Ignore. Dashdoc technical data.
iosThe ID of the trucker in your system. It has to be unique among all your truckers.
0601020304A random address 4 square Dashdoc44000NantesOnly the 2-character codification is accepted (ISO 3166-1 alpha-2)
FR99 999 9992020-12-22T15:31:39.26167Z2020-12-22T15:31:39.26167Z2020-12-22T15:31:39.26167Z2020-12-22T15:31:39.26167ZIgnore. Dashdoc technical data.
Ignore. Dashdoc technical data.
Successfully updated the unavailability, returns the trucker, which contains the unavailability.
Last updated
Was this helpful?