oTMS provides Web Service interfaces in both production and testing environments, where the testing environment is primarily used for integration testing. In both environments, API account credentials must be assigned by the oTMS system administrator before they can be used.
Please use the public interfaces reasonably. If abnormal calls or any issues affecting system performance are detected, we will impose restrictions on the API account calls, or even deactivate them.
Currently, the call limit for this interface is set to a maximum of 10 requests per second per company.
Request
Header Params
Authorization
string
optional
Basic Authorization. If not empty, this value will be used for authentication first. Otherwise, the username and password in the request message will be used.
Default:
Body Params application/xml
version
string
required
Request version number. Current version number is 0.1
login
string
optional
Username. Used for API caller authentication. If the Authorization header is not empty, this value will be ignored.
password
string
optional
Password. Used for API caller authentication. If the Authorization header is not empty, this value will be ignored.
driverAssignments
array[object (DriverAssignment) {9}]
optional
List of driver assignments
sequence
integer<int32>
optional
Sequence number
clientCode
string
optional
Customer code of the order. Only applicable to supplier accounts.
orderNumber
string
optional
oTMS order number of the order. At least one of this field or the erpNumber field must be provided.
erpNumber
string
optional
ERP order number of the order. At least one of this field or the orderNumber field must be provided.
branch
string
optional
Branch name of the order.
ignoreOrderMatch
boolean
optional
Whether to ignore whether the truck type matches the order, default is false.