The Carrier Planning API enables you to update a part of the transport planning for a trip and add optional eCMR delegation
Carrier Planning API (5.1)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.simacan.com/_mock/openapi/carrier/carrier-planning/
Production Environment
https://sct-web-api-prod.simacan.com/api/public/
Staging Environment
https://sct-web-api-stg.simacan.com/api/public/
Bodyapplication/xmlrequired
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.
- Mock serverhttps://developer.simacan.com/_mock/openapi/carrier/carrier-planning/{shipper_code}/transporter/v3/{carrier_code}/planning
- Production Environmenthttps://sct-web-api-prod.simacan.com/api/public/{shipper_code}/transporter/v3/{carrier_code}/planning
- Staging Environmenthttps://sct-web-api-stg.simacan.com/api/public/{shipper_code}/transporter/v3/{carrier_code}/planning
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.simacan.com/_mock/openapi/carrier/carrier-planning/{shipper_code}/transporter/v3/{carrier_code}/planning' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/xml' \
-d '<planning xmlns="http://www.simacan.com/schemas/rct/transporter/v3/planning">
<tripId>800099</tripId>
<timestamp>2014-08-13T12:20:00+02:00</timestamp>
<driver>William de Vries</driver>
<fuelType>EURO_6_DIESEL</fuelType>
<licensePlateTractor>TE-ST-02</licensePlateTractor>
<tractorType>BAKWAGEN</tractorType>
<customer>peterson</customer>
<subcontractor>jansson</subcontractor>
<root>
<name>Business Unit</name>
<value>Any</value>
</root>
<phoneNumber>+31612345678</phoneNumber>
<ecmrDelegate>subaccount</ecmrDelegate>
</planning>
'