v1

latestOpenAPI 3.0.0Apache 2.02026-08-063010285.3 KB
Geofence Collection

Batch put geofence in collection

Add one or more geofences to an already created geofence collection.

post/v1/geofence-collection/{collection}/batch-put-geofence

Path parameters

collectionstring required

Name of geofence collection

Request body

Example request

{
  "entries": [
    {
      "GeofenceId": "geofence_id",
      "Geometry": {
        "Circle": {
          "Center": [
            -87.64147148516258,
            41.88151660465293
          ],
          "Radius": 1262.5772004365683
        }
      }
    }
  ]
}

Response

BatchPutGeofenceResponse

string required

Example response

"Successfully added geofence(s) to geofence collection (collection_name)."