Procedures

Automation procedures in the TruckMate BDK Book.

to create an order in truckmate and get the order number and the bill number

Create a new order in Truckmate.

Input Concepts

Concept
Description
Type
Required
Default Value

The Truckmate order request (acc to openAPI spec)

truckmate order

Yes

Output Concepts

Concept
Description
Type

order number

Order ID of the created order

number

bill number

Bill Number of the created order

text

Examples

Create the order in Truckmate

create a json
use the above as the order
set the order's id to 1234
set the order's title to "Awesome title"
set order's body to "This is the body"
create the order in truckmate and get the order number and bill number

to update an order in truckmate

Update an order in Truckmate (Right now it only updates trace number).

Input Concepts

Concept
Description
Type
Required
Default Value

order id

The Order ID of the truckmate order

number

Yes

trace type

Type of the Trace Freight

text

Yes

trace number

Trace Freight Number

text

Yes

Output Concepts

Concept
Description
Type

answer

Details of the trace number attached to order successfully

number

Examples

Update the trace numbers of the truckmate order

update an order in truckamte with
    the order id is 123
    the trace number is "2234"
    the trace type is "A"

Last updated

Was this helpful?