oTMS-openapi en
  1. oTMS API
oTMS-openapi en
  • oTMS API
    • Order Import
      PUT
    • orderOutbound
      POST
    • shipPointImport
      PUT
    • Delete delivery point
      DELETE
    • Order Assignment to Driver
      POST
    • TruckAndDriverImport
      PUT
    • Assign Driver to Order
      POST
    • Job Sheet Import
      PUT
    • Delete Job Sheet
      PUT
    • Order Recall
      POST
    • Share Link
      PUT
    • Carrier Export
      POST
    • Order Update
      PUT
    • Order Dispatch
      POST
    • Order Revoke
      PUT
    • Order Rating
      POST
    • Order Handover Creation
      PUT
    • Oorder Custom Update
      POST
    • Price File Matching
      POST
    • Order cost update
      POST
    • Shipper/Receiver export
      POST
    • Job Sheet Outbound
      POST
    • Job Sheet Recall
      PUT
    • TruckPosition
      POST
    • GPS Device
      POST
    • Jobsheet To Driver
      PUT
    • TrackandTrace
      POST
    • H5 Link
      PUT
  1. oTMS API

H5 Link

PUT
/ws/orderLink
H5 Link

Order Export Interface#

The Order Export Interface allows customer systems to integrate and generate H5 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

Header Params
Authorization
string 
optional
Basic Authorization. If not empty, this value will be used for identity authentication with priority. Otherwise, the username and password in the request message will be used.
Default:
Body Params application/xml
object {0}
Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderLinkRequest version="0.1" login="login" password="password">
    <orders>
        <order sequence="1">
            <erpNumber/>
            <orderNumber>AXDHBMAV009887</orderNumber>////Need to check the option to send external tracking emails
            <userType>Shipper</userType>
        </order>
    </orders>
</orderLinkRequest>

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://login.otms.com/ws/orderLink' \
--header 'Authorization;' \
--header 'Content-Type: application/xml' \
--data-raw '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderLinkRequest version="0.1" login="login" password="password">
    <orders>
        <order sequence="1">
            <erpNumber/>
            <orderNumber>AXDHBMAV009887</orderNumber>////Need to check the option to send external tracking emails
            <userType>Shipper</userType>
        </order>
    </orders>
</orderLinkRequest>'

Responses

🟢200成功
application/xml
Successful operation
Body
version
string 
optional
Response version number
responseCode
string 
optional
Response code
successNum
integer <int32>
optional
Number of H5 links generated successfully
failNum
integer <int32>
optional
Number of H5 links that failed to generate
responseEntries
array[object (OrderLinkResponseEntry) {7}] 
optional
List of H5 links
sequence
integer <int32>
optional
Sequence number, used to match corresponding records in the request
status
string 
optional
Response status:
SUCCEED - Success
FAILED - Failure
code
string 
optional
Response code
erpNumber
string 
optional
ERP number
orderNumber
string 
optional
oTMS number
userType
string 
optional
User role
url
string 
optional
H5 link
Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderLinkResponse version="0.1">
    <responseCode>7001</responseCode>
    <successNum>1</successNum>
    <failNum>0</failNum>
    <orders>
        <order sequence="1">
            <status>SUCCEED</status>
            <code>7001</code>
            <orderNumber>axdhbmav009887</orderNumber>
            <userType>Shipper</userType>
            <url>https://qa.otms.com/mp/#/order-preview-mobile/6CD4091913AA39FDEC7CA8C669E6F154/JWMNPLVM5FGJPN77V55Q2FVH?linkTraceId=D274D19336888EAD</url>
        </order>
    </orders>
</orderLinkResponse>
Previous
TrackandTrace
Built with