Order Rating Import Interface#
The Order Rating Import Interface allows the import of rating records. A single request can support up to 100 rating records.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"?>
<externalRatingRequest version="1.0" login="login" password="password">
<ratings>
<ratingDetail sequence="1">
<clientCode></clientCode>
<erpNumber></erpNumber>
<orderNumber>AXDHBMAV009886</orderNumber>
<rating>4</rating>
<latitude>31.230253</latitude>
<longitude>121.534672</longitude>
<createdBy></createdBy>
<createdAt>2024-11-08T12:02:03.045</createdAt>
<remark>this is remark</remark>
</ratingDetail>
</ratings>
</externalRatingRequest>
Request Code Samples
curl --location 'https://login.otms.com/ws/openapi/ratings' \
--header 'Authorization;' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0" encoding="utf-8"?>
<externalRatingRequest version="1.0" login="login" password="password">
<ratings>
<ratingDetail sequence="1">
<clientCode></clientCode>
<erpNumber></erpNumber>
<orderNumber>AXDHBMAV009886</orderNumber>
<rating>4</rating>
<latitude>31.230253</latitude>
<longitude>121.534672</longitude>
<createdBy></createdBy>
<createdAt>2024-11-08T12:02:03.045</createdAt>
<remark>this is remark</remark>
</ratingDetail>
</ratings>
</externalRatingRequest>'
Responses
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ratingImportResponse>
<ratings>
<ratingImportResult>
<orderNumber>AXDHBMAV009886</orderNumber>
<code>1000</code>
<message>success</message>
</ratingImportResult>
</ratings>
</ratingImportResponse>
Modified at 2025-06-06 02:46:48