Create a simple transport as a shipper
A simple transport consists in a single delivery from an origin site A to a destination site B. Remember our Transport - Segment - Delivery models ? If you haven't yet, please have a look at it ;-)
Step 1: Get your API Token
Step 2: Get your company's primary key (pk)
You can find your own company's pk by going to the address book on the web app, to the category "Carriers". And clicking on your own company will show the pk in the address bar (you will be on the page https://www.dashdoc.eu/app/address-book/companies/YOUR_PK/
)
Step 3: Create your first transport!
Remember to send your API token in the request headers, see:
Below is an JSON example of a simple transport. You can copy / paste this example to create your first transport. All you need to do is replace the value YOUR_COMPANY_PK
by the actual pk
you got at step 2. Feel free to fill in the data with what you want! The JSON must be sent as the body of the request to https://www.dashdoc.eu/api/v4/transports/
.
Step 4: Customize your data
Congratulations on creating your first transport !
Now access the Transport Creation API Reference to find all the fields you might need to completely set-up transport creation.
You might want to send:
trucker assignment
more details about load or multiple loads
dates and times for pick up and delivery
set business privacy between origin and destination sites
make it a multiple rounds transport
even more
Get in touch with your project manager and we'll go through your business needs to help you use API possibilities the best way
Last updated