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/maintenance
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://demo.traccar.org/api/maintenance?all=true&userId=0&deviceId=0&groupId=0&refresh=true'Response
application/json
[ { "id": 0, "name": "string", "type": "string", "start": 0, "period": 0, "attributes": {} } ]
- Demo Server 1https://demo.traccar.org/api/maintenance
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://demo.traccar.org/api/maintenance \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"name": "string",
"type": "string",
"start": 0,
"period": 0,
"attributes": {}
}'Response
application/json
{ "id": 0, "name": "string", "type": "string", "start": 0, "period": 0, "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/maintenance/{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/maintenance/{id}' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"name": "string",
"type": "string",
"start": 0,
"period": 0,
"attributes": {}
}'Response
application/json
{ "id": 0, "name": "string", "type": "string", "start": 0, "period": 0, "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/maintenance/{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/maintenance/{id}'