Order Export Interface#
The Order Export Interface allows customer systems to integrate and generate shareable links.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"?>
<orderShareRequest version="0.1" login="login" password="password">
<orders>
<order sequence="1">
<erpNumber>241107005</erpNumber>
<orderNumber></orderNumber>
</order>
<order sequence="2">
<erpNumber></erpNumber>
<orderNumber>AXDHBMAV009886</orderNumber>
</order>
</orders>
</orderShareRequest>
Request Code Samples
curl --location --request PUT 'https://login.otms.com/ws/order/share' \
--header 'Authorization;' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderShareRequest version="0.1" login="login" password="password">
<orders>
<order sequence="1">
<erpNumber>241107005</erpNumber>
<orderNumber></orderNumber>
</order>
<order sequence="2">
<erpNumber></erpNumber>
<orderNumber>AXDHBMAV009886</orderNumber>
</order>
</orders>
</orderShareRequest>'
Responses
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderShareResponse version="0.1">
<responseCode>2400</responseCode>
<successNum>2</successNum>
<failNum>0</failNum>
<orders>
<order sequence="1">
<status>SUCCEED</status>
<code>2400</code>
<erpNumber>241107005</erpNumber>
<url>https://qa.otms.com/mp/?tab=ALL#/order-preview/F15DAB4E48C8C457EC7CA8C669E6F154/54e557d00861fded7137d205d4245cbc</url>
</order>
<order sequence="2">
<status>SUCCEED</status>
<code>2400</code>
<orderNumber>AXDHBMAV009886</orderNumber>
<url>https://qa.otms.com/mp/?tab=ALL#/order-preview/F3837124BB1D93D6EC7CA8C669E6F154/912e98cdaff7ae830f9b7778132388ef</url>
</order>
</orders>
</orderShareResponse>
Modified at 2025-06-06 02:46:48