Skip to main content

BatchLocationUpdateIn

device_idDevice Id (string)required
locations object[]required

Possible values: <= 50

  • Array [
  • latitudeLatitude (number)required

    Possible values: >= -90 and <= 90

    longitudeLongitude (number)required

    Possible values: >= -180 and <= 180

    timestamp object
    anyOf
    string<date-time>
    accuracy object
    anyOf
    number
    speed object
    anyOf
    number
    heading object
    anyOf
    number

    Possible values: >= 0 and < 360

    altitude object
    anyOf
    number
    battery_level object
    anyOf
    integer

    Possible values: >= 0 and <= 100

    battery_charging object
    anyOf
    boolean
    metadata object
    anyOf
    object
    client_location_id object

    Opaque per-point response correlation only.

    anyOf
    string

    Possible values: non-empty and <= 128 characters

    fix_id object

    The client's UUID for this fix, used by batch updates. A later fix with the same fix_id for the device is answered as a duplicate and not stored, evaluated or counted again, whatever its other fields; the match is kept for at least 48 hours after processing. A value that is not a UUID rejects only its own point with INVALID_FIX_ID. The single-device location route ignores it.

    anyOf
    string<uuid>
    reason object
    anyOf
    string
  • ]
  • BatchLocationUpdateIn
    {
    "device_id": "string",
    "locations": [
    {
    "latitude": 0,
    "longitude": 0,
    "timestamp": "2024-07-29T15:51:28.071Z",
    "accuracy": 0,
    "speed": 0,
    "heading": 0,
    "altitude": 0,
    "battery_level": 0,
    "battery_charging": true,
    "metadata": {},
    "client_location_id": "string",
    "fix_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "reason": "string"
    }
    ]
    }