The Carrier Planning API enables you to update a part of the transport planning for a trip and add optional eCMR delegation
The planning endpoint enables you to update the transport planning for a trip and add optional eCMR delegation.
An important notice: all data in the message will be visible to all parties with access to the planning of the specific trip
For the ecmrDelegate
field, the subaccount value should be equal to the formatting as known at the e-CMR-provider. Any updates to the field, will revoke the previous assigned subaccount delegations by Simacan.
When the ecmrDelegate
value is left empty or is absent, we will try to delegate based on licensePlateTractor
, however we prefer that you explicit fill the value for ecmrDelegate
.
The post message was successfully processed.
The request was invalid or cannot be otherwise served. Possible causes are invalid XML or missing required parameters. An accompanying error message will explain further.
Authentication credentials were missing or incorrect.
The request is understood, but it has been refused or access is not allowed. An accompanying error message will explain why.
The URI requested is invalid or the resource requested does not exists. Also returned when the requested format is not supported by the requested method.
<?xml version="1.0" encoding="UTF-8" ?><ns2:planning xmlns:ns2="http://www.simacan.com/schemas/rct/transporter/v2/planning"> <tripPlanning> <tripId>800099</tripId> <timestamp>2020-12-09T04:43:00.000+02:00</timestamp> <driver>William de Vries</driver> <fuelType>EURO_6_DIESEL</fuelType> <licensePlateTractor>TE-ST-02</licensePlateTractor> <tractorType>TREKKER</tractorType> <customer>peterson</customer> <subcontractor>jansson</subcontractor> <trailers> <trailer> <trailerId>KDZ-Opl1</trailerId> <licensePlate>KDZ-Opl1</licensePlate> <trailerType>EURO_13_60_KOEL</trailerType> </trailer> <trailer> <trailerId>KDZ-Opl2</trailerId> <licensePlate>KDZ-Opl2</licensePlate> <trailerType>EURO_13_60_KOEL</trailerType> </trailer> </trailers> <ecmrDelegate>subaccountName</ecmrDelegate> </tripPlanning> </ns2:planning>
<?xml version="1.0" encoding="UTF-8"?> <Messages> <Message>INFO: Found existing rit with id {id} and planned start date {date}</Message> </Messages>