Skip to main content
PATCH
Update partially location history by ID

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

loc_history_id
string
required

Body

application/json
email
string
required

Required, User's email assigned to the monitored task. Example: example@mile.app

lat
string
required

Required, Latitude coordinate position. Example: -6.1771046

lon
string
required

Required, Longitude coordinate position. Example: 106.9240199

taskId
string

Unique ID to identify the task. Example: 634e98098ce69d29474a7e11

speed
integer

Vehicle speed in kilometers per hour. Example: 40

distance
integer

Distance traveled from the previous location. Example: 50

duration
integer

Time duration spent at this location in milliseconds. Example: 50

Response

Success

status
boolean

Indicates whether the request was successful.

code
integer

HTTP status code.

message
string

A message providing additional information about the response.

location_history
object