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

GPS Device

Developing
POST
/ws/gps/device

Location Temperature Information Push Interface#

Request

Header Params

Body Params application/json

Example
{
    "dataset": [
        {
            "id": "AB0215C",
            "type": "0",
            "devicetime": "2025-04-19 14:03:58",
            "speed": "10",
            "latitude": "-6.280404",
            "longitude": "107.174964",
            "position": "",
            "road": "",
            "temperature": "",
            "humidity": "",
            "warning": ""
        }
    ],
    "records": "1"
}

Request Code 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 'https://login.otms.com/ws/gps/device' \
--header 'user: GPS vendor id' \
--header 'password: encrypted password' \
--header 'Content-Type: application/json' \
--data '{
    "dataset": [
        {
            "id": "AB0215C",
            "type": "0",
            "devicetime": "2025-04-19 14:03:58",
            "speed": "10",
            "latitude": "-6.280404",
            "longitude": "107.174964",
            "position": "",
            "road": "",
            "temperature": "",
            "humidity": "",
            "warning": ""
        }
    ],
    "records": "1"
}'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
[
    {
        "responseCode": "SUCCESS"
    }
]
Modified at 2025-06-06 02:46:48
Previous
TruckPosition
Next
Jobsheet To Driver
Built with