{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/places:traccar/get-attributes-computed":{"get":{"operationId":"places_traccar_get_attributes_computed","summary":"Fetch a list of Attributes","description":"GET /attributes/computed","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}},{"name":"deviceId","in":"query","required":false,"description":"Standard users can use this only with _deviceId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _deviceId_s, they have access to"}},{"name":"groupId","in":"query","required":false,"description":"Standard users can use this only with _groupId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _groupId_s, they have access to"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-attributes-computed":{"post":{"operationId":"places_traccar_post_attributes_computed","summary":"Create an Attribute","description":"POST /attributes/computed","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-attributes-computed-id":{"post":{"operationId":"places_traccar_put_attributes_computed_id","summary":"Update an Attribute","description":"PUT /attributes/computed/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-attributes-computed-id":{"post":{"operationId":"places_traccar_delete_attributes_computed_id","summary":"Delete an Attribute","description":"DELETE /attributes/computed/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-calendars":{"get":{"operationId":"places_traccar_get_calendars","summary":"Fetch a list of Calendars","description":"GET /calendars","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-calendars":{"post":{"operationId":"places_traccar_post_calendars","summary":"Create a Calendar","description":"POST /calendars","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-calendars-id":{"post":{"operationId":"places_traccar_put_calendars_id","summary":"Update a Calendar","description":"PUT /calendars/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-calendars-id":{"post":{"operationId":"places_traccar_delete_calendars_id","summary":"Delete a Calendar","description":"DELETE /calendars/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-commands":{"get":{"operationId":"places_traccar_get_commands","summary":"Fetch a list of Saved Commands","description":"GET /commands","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}},{"name":"deviceId","in":"query","required":false,"description":"Standard users can use this only with _deviceId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _deviceId_s, they have access to"}},{"name":"groupId","in":"query","required":false,"description":"Standard users can use this only with _groupId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _groupId_s, they have access to"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-commands":{"post":{"operationId":"places_traccar_post_commands","summary":"Create a Saved Command","description":"POST /commands","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-commands-send":{"get":{"operationId":"places_traccar_get_commands_send","summary":"Fetch a list of Saved Commands supported by Device at the moment","description":"GET /commands/send","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"description":"Standard users can use this only with _deviceId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _deviceId_s, they have access to"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-commands-send":{"post":{"operationId":"places_traccar_post_commands_send","summary":"Dispatch commands to device","description":"POST /commands/send","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-commands-types":{"get":{"operationId":"places_traccar_get_commands_types","summary":"Fetch a list of available Commands for the Device or all possible Commands if Device ommited","description":"GET /commands/types","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"description":"Internal device identifier. Only works if device has already reported some locations","schema":{"type":"integer","description":"Internal device identifier. Only works if device has already reported some locations"}},{"name":"protocol","in":"query","required":false,"description":"Protocol name. Can be used instead of device id","schema":{"type":"string","description":"Protocol name. Can be used instead of device id"}},{"name":"textChannel","in":"query","required":false,"description":"When `true` return SMS commands. If not specified or `false` return data commands","schema":{"type":"boolean","description":"When `true` return SMS commands. If not specified or `false` return data commands"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/put-commands-id":{"post":{"operationId":"places_traccar_put_commands_id","summary":"Update a Saved Command","description":"PUT /commands/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-commands-id":{"post":{"operationId":"places_traccar_delete_commands_id","summary":"Delete a Saved Command","description":"DELETE /commands/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-devices":{"get":{"operationId":"places_traccar_get_devices","summary":"Fetch a list of Devices","description":"GET /devices","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}},{"name":"id","in":"query","required":false,"description":"To fetch one or more devices. Multiple params can be passed like `id=31&id=42`","schema":{"type":"integer","description":"To fetch one or more devices. Multiple params can be passed like `id=31&id=42`"}},{"name":"uniqueId","in":"query","required":false,"description":"To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`","schema":{"type":"string","description":"To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-devices":{"post":{"operationId":"places_traccar_post_devices","summary":"Create a Device","description":"POST /devices","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-devices-id":{"post":{"operationId":"places_traccar_put_devices_id","summary":"Update a Device","description":"PUT /devices/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-devices-id":{"post":{"operationId":"places_traccar_delete_devices_id","summary":"Delete a Device","description":"DELETE /devices/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-devices-id-accumulators":{"post":{"operationId":"places_traccar_put_devices_id_accumulators","summary":"Update total distance and hours of the Device","description":"PUT /devices/{id}/accumulators","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-drivers":{"get":{"operationId":"places_traccar_get_drivers","summary":"Fetch a list of Drivers","description":"GET /drivers","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}},{"name":"deviceId","in":"query","required":false,"description":"Standard users can use this only with _deviceId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _deviceId_s, they have access to"}},{"name":"groupId","in":"query","required":false,"description":"Standard users can use this only with _groupId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _groupId_s, they have access to"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-drivers":{"post":{"operationId":"places_traccar_post_drivers","summary":"Create a Driver","description":"POST /drivers","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-drivers-id":{"post":{"operationId":"places_traccar_put_drivers_id","summary":"Update a Driver","description":"PUT /drivers/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-drivers-id":{"post":{"operationId":"places_traccar_delete_drivers_id","summary":"Delete a Driver","description":"DELETE /drivers/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-events-id":{"get":{"operationId":"places_traccar_get_events_id","summary":"GET /events/{id}","description":"GET /events/{id}","tags":["places"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-geofences":{"get":{"operationId":"places_traccar_get_geofences","summary":"Fetch a list of Geofences","description":"GET /geofences","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}},{"name":"deviceId","in":"query","required":false,"description":"Standard users can use this only with _deviceId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _deviceId_s, they have access to"}},{"name":"groupId","in":"query","required":false,"description":"Standard users can use this only with _groupId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _groupId_s, they have access to"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-geofences":{"post":{"operationId":"places_traccar_post_geofences","summary":"Create a Geofence","description":"POST /geofences","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-geofences-id":{"post":{"operationId":"places_traccar_put_geofences_id","summary":"Update a Geofence","description":"PUT /geofences/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-geofences-id":{"post":{"operationId":"places_traccar_delete_geofences_id","summary":"Delete a Geofence","description":"DELETE /geofences/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-groups":{"get":{"operationId":"places_traccar_get_groups","summary":"Fetch a list of Groups","description":"GET /groups","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-groups":{"post":{"operationId":"places_traccar_post_groups","summary":"Create a Group","description":"POST /groups","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-groups-id":{"post":{"operationId":"places_traccar_put_groups_id","summary":"Update a Group","description":"PUT /groups/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-groups-id":{"post":{"operationId":"places_traccar_delete_groups_id","summary":"Delete a Group","description":"DELETE /groups/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-maintenance":{"get":{"operationId":"places_traccar_get_maintenance","summary":"Fetch a list of Maintenance","description":"GET /maintenance","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}},{"name":"deviceId","in":"query","required":false,"description":"Standard users can use this only with _deviceId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _deviceId_s, they have access to"}},{"name":"groupId","in":"query","required":false,"description":"Standard users can use this only with _groupId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _groupId_s, they have access to"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-maintenance":{"post":{"operationId":"places_traccar_post_maintenance","summary":"Create a Maintenance","description":"POST /maintenance","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-maintenance-id":{"post":{"operationId":"places_traccar_put_maintenance_id","summary":"Update a Maintenance","description":"PUT /maintenance/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-maintenance-id":{"post":{"operationId":"places_traccar_delete_maintenance_id","summary":"Delete a Maintenance","description":"DELETE /maintenance/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-notifications":{"get":{"operationId":"places_traccar_get_notifications","summary":"Fetch a list of Notifications","description":"GET /notifications","tags":["places"],"parameters":[{"name":"all","in":"query","required":false,"description":"Can only be used by admins or managers to fetch all entities","schema":{"type":"boolean","description":"Can only be used by admins or managers to fetch all entities"}},{"name":"userId","in":"query","required":false,"description":"Standard users can use this only with their own _userId_","schema":{"type":"integer","description":"Standard users can use this only with their own _userId_"}},{"name":"deviceId","in":"query","required":false,"description":"Standard users can use this only with _deviceId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _deviceId_s, they have access to"}},{"name":"groupId","in":"query","required":false,"description":"Standard users can use this only with _groupId_s, they have access to","schema":{"type":"integer","description":"Standard users can use this only with _groupId_s, they have access to"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-notifications":{"post":{"operationId":"places_traccar_post_notifications","summary":"Create a Notification","description":"POST /notifications","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/post-notifications-test":{"post":{"operationId":"places_traccar_post_notifications_test","summary":"Send test notification to current user via Email and SMS","description":"POST /notifications/test","tags":["places"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-notifications-types":{"get":{"operationId":"places_traccar_get_notifications_types","summary":"Fetch a list of available Notification types","description":"GET /notifications/types","tags":["places"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/put-notifications-id":{"post":{"operationId":"places_traccar_put_notifications_id","summary":"Update a Notification","description":"PUT /notifications/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-notifications-id":{"post":{"operationId":"places_traccar_delete_notifications_id","summary":"Delete a Notification","description":"DELETE /notifications/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/post-permissions":{"post":{"operationId":"places_traccar_post_permissions","summary":"Link an Object to another Object","description":"POST /permissions","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-permissions":{"post":{"operationId":"places_traccar_delete_permissions","summary":"Unlink an Object from another Object","description":"DELETE /permissions","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-positions":{"get":{"operationId":"places_traccar_get_positions","summary":"Fetches a list of Positions","description":"GET /positions","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"description":"_deviceId_ is optional, but requires the _from_ and _to_ parameters when used","schema":{"type":"integer","description":"_deviceId_ is optional, but requires the _from_ and _to_ parameters when used"}},{"name":"from","in":"query","required":false,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"to","in":"query","required":false,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"id","in":"query","required":false,"description":"To fetch one or more positions. Multiple params can be passed like `id=31&id=42`","schema":{"type":"integer","description":"To fetch one or more positions. Multiple params can be passed like `id=31&id=42`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-reports-events":{"get":{"operationId":"places_traccar_get_reports_events","summary":"Fetch a list of Events within the time period for the Devices or Groups","description":"GET /reports/events","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"schema":{"type":"array"}},{"name":"groupId","in":"query","required":false,"schema":{"type":"array"}},{"name":"type","in":"query","required":false,"description":"% can be used to return events of all types","schema":{"type":"array","description":"% can be used to return events of all types"}},{"name":"from","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"to","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-reports-route":{"get":{"operationId":"places_traccar_get_reports_route","summary":"Fetch a list of Positions within the time period for the Devices or Groups","description":"GET /reports/route","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"schema":{"type":"array"}},{"name":"groupId","in":"query","required":false,"schema":{"type":"array"}},{"name":"from","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"to","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-reports-stops":{"get":{"operationId":"places_traccar_get_reports_stops","summary":"Fetch a list of ReportStops within the time period for the Devices or Groups","description":"GET /reports/stops","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"schema":{"type":"array"}},{"name":"groupId","in":"query","required":false,"schema":{"type":"array"}},{"name":"from","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"to","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-reports-summary":{"get":{"operationId":"places_traccar_get_reports_summary","summary":"Fetch a list of ReportSummary within the time period for the Devices or Groups","description":"GET /reports/summary","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"schema":{"type":"array"}},{"name":"groupId","in":"query","required":false,"schema":{"type":"array"}},{"name":"from","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"to","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-reports-trips":{"get":{"operationId":"places_traccar_get_reports_trips","summary":"Fetch a list of ReportTrips within the time period for the Devices or Groups","description":"GET /reports/trips","tags":["places"],"parameters":[{"name":"deviceId","in":"query","required":false,"schema":{"type":"array"}},{"name":"groupId","in":"query","required":false,"schema":{"type":"array"}},{"name":"from","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"to","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-server":{"get":{"operationId":"places_traccar_get_server","summary":"Fetch Server information","description":"GET /server","tags":["places"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/put-server":{"post":{"operationId":"places_traccar_put_server","summary":"Update Server information","description":"PUT /server","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-session":{"get":{"operationId":"places_traccar_get_session","summary":"Fetch Session information","description":"GET /session","tags":["places"],"parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-session":{"post":{"operationId":"places_traccar_post_session","summary":"Create a new Session","description":"POST /session","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-session":{"post":{"operationId":"places_traccar_delete_session","summary":"Close the Session","description":"DELETE /session","tags":["places"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/get-statistics":{"get":{"operationId":"places_traccar_get_statistics","summary":"Fetch server Statistics","description":"GET /statistics","tags":["places"],"parameters":[{"name":"from","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}},{"name":"to","in":"query","required":true,"description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`","schema":{"type":"string","description":"in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/get-users":{"get":{"operationId":"places_traccar_get_users","summary":"Fetch a list of Users","description":"GET /users","tags":["places"],"parameters":[{"name":"userId","in":"query","required":false,"description":"Can only be used by admin or manager users","schema":{"type":"string","description":"Can only be used by admin or manager users"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/places:traccar/post-users":{"post":{"operationId":"places_traccar_post_users","summary":"Create a User","description":"POST /users","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/put-users-id":{"post":{"operationId":"places_traccar_put_users_id","summary":"Update a User","description":"PUT /users/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/places:traccar/delete-users-id":{"post":{"operationId":"places_traccar_delete_users_id","summary":"Delete a User","description":"DELETE /users/{id}","tags":["places"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}