Places

Update a Place

patch/places/{id}

Request

Path parameters

idstring required

The id of the relevant record

Request body

namestring

A name for this Place.

descriptionstring

A description of this Place.

latitudenumber float

This Place's latitude.

longitudenumber float

This Place's longitude.

radius_in_metersinteger

The radius around this Place's coordinates within which we will consider this Place to have been visited.

polygon_coordinates_rawstring

An optional polygonal geofence for this Place, provided as an EWKT (SRID 4326) POLYGON string. When supplied, it is stored as this Place's polygon geofence in addition to the circular radius defined by latitude, longitude, and radius_in_meters.

Example request

{
  "latitude": 33.515,
  "longitude": -86.80761,
  "polygon_coordinates_raw": "SRID=4326;POLYGON((-86.8 33.5, -86.7 33.5, -86.7 33.6, -86.8 33.6, -86.8 33.5))"
}

Response

OK

Changes