- oTMS API
- Order ImportPUT
- orderOutboundPOST
- shipPointImportPUT
- Delete delivery pointDELETE
- Order Assignment to DriverPOST
- TruckAndDriverImportPUT
- Assign Driver to OrderPOST
- Job Sheet ImportPUT
- Delete Job SheetPUT
- Order RecallPOST
- Share LinkPUT
- Carrier ExportPOST
- Order UpdatePUT
- Order DispatchPOST
- Order RevokePUT
- Order RatingPOST
- Order Handover CreationPUT
- Oorder Custom UpdatePOST
- Price File MatchingPOST
- Order cost updatePOST
- Shipper/Receiver export POST
- Job Sheet OutboundPOST
- Job Sheet RecallPUT
- TruckPositionPOST
- GPS DevicePOST
- Jobsheet To DriverPUT
- TrackandTracePOST
- H5 LinkPUT
GPS Device
Developing
POST
/ws/gps/device
Location Temperature Information Push Interface#
Request
Header Params
user
string
optional
Example:
GPS vendor id
password
string
optional
Example:
encrypted password
Body Params application/json
dataset
array [object {11}]
optional
id
string
optional
type
string
optional
1- GPS device ID
devicetime
string
optional
speed
string
optional
latitude
string
optional
longitude
string
optional
position
string
optional
road
string
optional
temperature
string
optional
humidity
string
optional
warning
string
optional
1- There is an alarm
records
string
optional
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 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 POST 'https://login.otms.com/ws/gps/device' \
--header 'user: GPS vendor id' \
--header 'password: encrypted password' \
--header 'Content-Type: application/json' \
--data-raw '{
"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
Body
responseCode
string
optional
Example
[
{
"responseCode": "SUCCESS"
}
]