Places
Create Place
Changed onCreates a new Place
post/places
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
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
Example response
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"latitude": 33.515,
"longitude": -86.80761
}Changes
- breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added
subschema #1: With Circular Geofencesubschema #2: With Polygon Geofenceto the request bodyanyOflist
- breaking