GPS tracking server API documentation.
iTransfer (5.0)
Download OpenAPI description
Overview
Languages
Servers
Demo Server 1
https://demo.traccar.org/api
- Demo Server 1https://demo.traccar.org/api/notifications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://demo.traccar.org/api/notifications?all=true&userId=0&deviceId=0&groupId=0&refresh=true'Response
application/json
[ { "id": 0, "type": "string", "description": "string", "always": true, "commandId": 0, "notificators": "string", "calendarId": 0, "attributes": {} } ]
- Demo Server 1https://demo.traccar.org/api/notifications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://demo.traccar.org/api/notifications \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"type": "string",
"description": "string",
"always": true,
"commandId": 0,
"notificators": "string",
"calendarId": 0,
"attributes": {}
}'Response
application/json
{ "id": 0, "type": "string", "description": "string", "always": true, "commandId": 0, "notificators": "string", "calendarId": 0, "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/notifications/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
-u <username>:<password> \
'https://demo.traccar.org/api/notifications/{id}' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"type": "string",
"description": "string",
"always": true,
"commandId": 0,
"notificators": "string",
"calendarId": 0,
"attributes": {}
}'Response
application/json
{ "id": 0, "type": "string", "description": "string", "always": true, "commandId": 0, "notificators": "string", "calendarId": 0, "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/notifications/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
-u <username>:<password> \
'https://demo.traccar.org/api/notifications/{id}'- Demo Server 1https://demo.traccar.org/api/notifications/types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://demo.traccar.org/api/notifications/types- Demo Server 1https://demo.traccar.org/api/notifications/test
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://demo.traccar.org/api/notifications/test