Request
Example:encrypted password
Body Params application/json
dataset
array [object {11}]
optionalLicense plate or GPS device ID
0- Vehicle license plate
1- GPS device ID
GPS device time,yyyy-mm-dd hh:mm:ss
0- No alarm
1- There is an alarm
{
"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
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
application/json [
{
"responseCode": "SUCCESS"
}
]
Modified at 2025-06-06 02:46:48