Skip to main content

Update Location Entry

PATCH 

https://secure.fleetio.com/api/v1/location_entries/:id

Updates an existing LocationEntry

Request

Path Parameters

    id stringrequired

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Body

    contact_idId (integer)

    Possible values: >= 1

    datedate-time

    We recommend using ISO-8601 formatted dates to avoid ambiguity.

    Example: 2023-03-14T13:46:27-06:00
    latitudeCoordinate (number)

    Possible values: >= -90 and <= 90

    longitudeCoordinate (number)

    Possible values: >= -90 and <= 90

    vehicle_idId (integer)

    Possible values: >= 1

Responses

OK

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64".
You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)

Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— pathrequired
Body
{
  "contact_id": 0,
  "date": "2023-03-14T13:46:27-06:00",
  "latitude": 0,
  "longitude": 0,
  "vehicle_id": 0
}
ResponseClear

Click the Send API Request button above and see the response here!