Creates a place.

Create a new Place

The Geometry must be one of theses two types : Point for a geometry define by a circle Or Polygon type for a geometry defined by a series of point.

Circle example with a radius of 50 meters :

{
"type":"Feature",
"geometry":{"type":"Point","coordinates":[2.894350290298462,50.844118068861114]}
"properties":{"radius":{"size":50,"unit":"m"}},
}```
 Type must be point, the coordinates are the coordinates of the center the center of the circle    
 The radius size must be provided in meter and the unit be "m" 

 Polygon example
 ```"geofenceDefinition": 
{
"type":"Feature",
"geometry":{"type":"Polygon","coordinates":[
   [2.888234853744507,50.87056512745199],
   [2.888631820678711,50.8689469035325],
   [2.8899729251861572,50.870077634945496],
   [2.888234853744507,50.87056512745199]
] 
}        
}```
     Type must be polygon and the coordinates are the list of the coordinates of the points of the polygon, properties are not required for this type but they are still accepted.
Body Params

Provides the model of the place to be created.

uuid
string
required
length between 1 and 100
string | null
string
enum
required
geofenceDefinition
object

A GeoJSON object with the type "Feature" represents a geometry with additional properties

address
object
required
contact
object
string | null
assignees
object
required
Responses

401

Unauthorized

403

Forbidden

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json