Log offline actions for a trip.
End-point to log actions and locations data saved in offline mode on mobile device. This end-point could also be used to send bulk data for a trip.
Path Parameters
tripUUID string required
Unique identifier for a trip
Header Parameters
authorization string required
Base64 encoded basic auth
application/json
Request Body required
Log offline actions request
- Array [
- ]
dealerDepartmentUUIDList string[]
departmentUUID string
logActions object[]
action string
Possible values: [START
, START_DRIVING
, IN_PROGRESS
, NEARBY
, END_DRIVING
, AT_DESTINATION
, COMPLETE
, CANCEL
]
actionTimeStamp string
altitude double
driverUUID string
locationLat double
locationLon double
orientation double
speed double
subTripUUID string
requesterUserUUID string
source string
Possible values: [DEALER_APP
, WEB
, PND_API
, EXTERNAL_CONTROLLER
]
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
error object
errorCode string
errorDescription string
metadata object
property name* string
statusCode int32
warnings object[]
warningCode string
warningDescription string
{
"error": {
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
},
"statusCode": 0,
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
Loading...