Configuration Instructions#
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.Important Notes#
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.
Call Limitations#
Currently, the call limit for this interface is set to a maximum of 10 requests per second per company.Request
Body Params application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assignDriverRequest version="0.1" login="login" password="password">
<driverAssignments>
<driverAssignment sequence="1">
<clientCode>AXDHBMAV</clientCode>
<erpNumber></erpNumber>
<orderNumber>AXDHBMAV002579</orderNumber>
<branch></branch>
<driverTruckInfos>
<driverTruckInfo>
<truckPlate>PH0007</truckPlate>
<driverName></driverName>
<driverMobile>+</driverMobile>
</driverTruckInfo>
</driverTruckInfos>
</driverAssignment>
</driverAssignments>
</assignDriverRequest>
Request Code Samples
curl --location 'https://login.otms.com/ws/assignDriver' \
--header 'Authorization;' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assignDriverRequest version="0.1" login="login" password="password">
<driverAssignments>
<driverAssignment sequence="1">
<clientCode>AXDHBMAV</clientCode>
<erpNumber></erpNumber>
<orderNumber>AXDHBMAV002579</orderNumber>
<branch></branch>
<driverTruckInfos>
<driverTruckInfo>
<truckPlate>PH0007</truckPlate>
<driverName></driverName>
<driverMobile>+</driverMobile>
</driverTruckInfo>
</driverTruckInfos>
</driverAssignment>
</driverAssignments>
</assignDriverRequest>'
Responses
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assignDriverResponse version="0.1">
<responseCode></responseCode>
<successfulAssignments>1</successfulAssignments>
<assignResults>
<assignResult sequence="1">
<assignStatus>DISPATCHED</assignStatus>
<assignedOrders>1</assignedOrders>
<responseInfos>
<responseInfo>
<truckPlate>PH0007</truckPlate>
<driverName></driverName>
<driverMobile></driverMobile>
</responseInfo>
</responseInfos>
</assignResult>
</assignResults>
</assignDriverResponse>
Modified at 2025-06-06 02:46:48