Create Trip Location
Create New Trip Location Data
application/x-www-form-urlencoded
application/json
Request Body
imei string required
gpsTime string required
latitude any required
longitude any required
speed any required
ignition boolean required
angle number
satellite number
door1 boolean
door2 boolean
temp number
fuel_percentage number
Request Body
imei string required
gpsTime string required
latitude any required
longitude any required
speed any required
ignition boolean required
angle number
satellite number
door1 boolean
door2 boolean
temp number
fuel_percentage number
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Schema
message string required
data object
id number required
information string required
{
"message": "string",
"data": {
"id": 0,
"information": "string"
}
}
Bad Request
application/json
Schema
Example (from schema)
Expired Token
Bad Token
Schema
code string
message string
detail string
{
"code": "string",
"message": "string",
"detail": "string"
}
{
"code": "E-V1/1-03",
"message": "An error occurred while executing query",
"detail": "Context creation failed: jwt expired"
}
{
"code": "E-V1/1-03",
"message": "An error occurred while executing query",
"detail": "Context creation failed: jwt malformed"
}
Unauthorized Request
application/json
Schema
Example (from schema)
Example
Schema
code string
message string
{
"code": "string",
"message": "string"
}
{
"code": "E-G1/1-01",
"message": "Authentication token is required"
}
Loading...