Order Cancellation Interface#
Through the Order Cancellation Interface, orders assigned to downstream carriers can be revoked.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"?>
<orderRevokeRequest version="0.1" login="login" password="password">
<orders>
<order sequence="1">
<erpNumber>241108002</erpNumber>
</order>
<order sequence="2">
<orderNumber>AXDHBMAV009889</orderNumber>
</order>
</orders>
</orderRevokeRequest>
Request Code Samples
curl --location --request PUT 'https://login.otms.com/ws/order/revoke' \
--header 'Authorization;' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderRevokeRequest version="0.1" login="login" password="password">
<orders>
<order sequence="1">
<erpNumber>241108002</erpNumber>
</order>
<order sequence="2">
<orderNumber>AXDHBMAV009889</orderNumber>
</order>
</orders>
</orderRevokeRequest>'
Responses
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderRevokeResponse version="0.1">
<orders>
<order sequence="1">
<erpNumber>241108002</erpNumber>
<status>SUCCEED</status>
<code>100</code>
<msg>Success</msg>
</order>
<order sequence="2">
<orderNumber>AXDHBMAV009889</orderNumber>
<status>SUCCEED</status>
<code>100</code>
<msg>Success</msg>
</order>
</orders>
</orderRevokeResponse>
Modified at 2025-06-06 02:46:48