Skip to main content

BulkItemCommit

Input item for POST /api/v1/geofences/bulk commit request.

index is 0-based. override_dedup lets a caller override dedup handling for this specific item even under dedup_strategy='skip'.

indexIndex (integer)required
addressAddress (string)required

Possible values: <= 500 characters

name object
anyOf
string

Possible values: <= 255 characters

buffer_meters object
anyOf
integer

Possible values: >= 1 and <= 10000

tags object
anyOf
  • Array [
  • string
  • ]
  • statusStatus (string)required

    Possible values: [ok, dedup, skipped, error]

    override_dedupOverride Dedup (boolean)
    Default value: false
    lat object

    Latitude of the geofence center. Send it with lng to place the geofence there without geocoding the address, for example the point a preview returned or a pin the user moved.

    anyOf
    number

    Possible values: >= -90 and <= 90

    lng object

    Longitude of the geofence center. Send it with lat.

    anyOf
    number

    Possible values: >= -180 and <= 180

    normalized_address object

    The geocoder's address label for lat/lng, as the preview returned it. Used to match duplicates; defaults to address.

    anyOf
    string

    Possible values: <= 500 characters

    BulkItemCommit
    {
    "index": 0,
    "address": "string",
    "name": "string",
    "buffer_meters": 0,
    "tags": [
    "string"
    ],
    "status": "ok",
    "override_dedup": false,
    "lat": 0,
    "lng": 0,
    "normalized_address": "string"
    }