Lease

Lease a trucker

post

Give access to your trucker from another carrier Dashdoc account.

The trucker will be seen as a rented trucker in the other carrier account. We will call this one the tenant carrier. The difference from creating it as a rented trucker in the web app is the trucker's pk is the same in the tenant carrier account and can be used to assign the trucker to a transport. In case you delete your own trucker, this one won't be available anymore for the tenant carrier.

Prerequisite: the tenant carrier account and your own have to be reachable from one another (partner link, see with your Dashdoc project manager).

Authorizations
AuthenticationstringRequired

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/"
Path parameters
pknumberRequired
Body
Responses
post
/manager-truckers/{pk}/lease/

No content

Last updated

Was this helpful?