Charter
Shortcut API to create a chartered transport from one segment or a list of successive segments (from a "parent transport"). Those segments, will be chartered to a "child transport".
Child transport is created as follow:
-
Shipper is the actual carrier of the parent transport
-
Carrier is the chartered carrier given in the
carrierparameter -
Trucker and plates are not set, but information about it can be given in the
instructionsparameters -
Other transport data (deliveries, segments, etc.) are duplicated
-
Child transport starts at the first segment's origin and ends at the last segment's destination
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/"
Comma separated list of segment uids, or just one if only one segment is to be chartered.
1004fcf8-9136-11eb-aa8d-0242ac110006,a05b7bfa-71e8-11eb-b223-0242ac110007Comma separated list of remote ids, or just one if only one segment is to be chartered. Can be used to identify segments using their remote_id instead of their uid.
seg_1234567,seg_7654321Operating instructions. The carrier, the shipper and the creator of the transport have access to those instructions. However, the creator is the only who has the right to edit.
Full price for the transport
250Segments chartered successfully
missing or incorrect query parameters
Last updated
Was this helpful?