Gateway GRPC

Validate Geofence Boundary

post/v2/organisations/{organisation_id}/geofence/validate-boundary

Request

  • Base URL
    https://api.cautio.in (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

organisation_idstring required
Example:019aa01c-a1a9-7fae-961b-23845147892e

Organisation ID

Request body

Example request

{
  "boundary_details": {
    "boundary_type": 1,
    "radial_boundary": {
      "center": {
        "latitude": 12.9716,
        "longitude": 77.5946
      },
      "radius_meters": 1000
    },
    "polygonal_boundary": {
      "vertices": [
        {
          "latitude": 12.915103971345061,
          "longitude": 77.54220495842674
        },
        {
          "latitude": 12.914346819728294,
          "longitude": 77.54323957801279
        },
        {
          "latitude": 12.915280204582459,
          "longitude": 77.54349404755573
        },
        {
          "latitude": 12.915639197828312,
          "longitude": 77.54304537757258
        },
        {
          "latitude": 12.915103971345061,
          "longitude": 77.54220495842674
        }
      ]
    },
    "route_boundary": {
      "route_points": [
        {
          "latitude": 12.915103971345061,
          "longitude": 77.54220495842674
        },
        {
          "latitude": 12.914346819728294,
          "longitude": 77.54323957801279
        },
        {
          "latitude": 12.915280204582459,
          "longitude": 77.54349404755573
        }
      ],
      "buffer_meters": 50
    }
  }
}

Response

Geofence Boundary validation result

Changes

No recorded changes to this operation across all 1 revision of this API.