Charter
Last updated
Last updated
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 carrier
parameter
Trucker and plates are not set, but information about it can be given in the instructions
parameters
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
Carrier to whom you wish to charter the transport. Identified either by its pk
or remote_id
.
Operating 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.
Segments chartered successfully
uid of the chartered transport that has been created
"3545c058-392d-11eb-90c5-0242ac140006"