Skip to content

iTransfer (5.0)

GPS tracking server API documentation.

Download OpenAPI description
Languages
Servers
Demo Server 1
https://demo.traccar.org/api
Operations
Operations
Operations
Operations
Operations

Permissions

User permissions and other object linking

Operations

Positions

Retrieving raw location information

Operations

Events

Retrieving event information

Operations
Operations

Notifications

User notifications management

Operations
Operations

Request

Without params, it returns a list of Geofences the user has access to

Security
BasicAuth or ApiKey
Query
allboolean

Can only be used by admins or managers to fetch all entities

userIdinteger

Standard users can use this only with their own userId

deviceIdinteger

Standard users can use this only with _deviceId_s, they have access to

groupIdinteger

Standard users can use this only with _groupId_s, they have access to

refreshboolean
curl -i -X GET \
  -u <username>:<password> \
  'https://demo.traccar.org/api/geofences?all=true&userId=0&deviceId=0&groupId=0&refresh=true'

Responses

OK

Bodyapplication/jsonArray [
idinteger(int64)
namestring
descriptionstring
areastring
calendarIdinteger(int64)
attributesobject
]
Response
application/json
[ { "id": 0, "name": "string", "description": "string", "area": "string", "calendarId": 0, "attributes": {} } ]

Request

Security
BasicAuth or ApiKey
Bodyapplication/jsonrequired
idinteger(int64)
namestring
descriptionstring
areastring
calendarIdinteger(int64)
attributesobject
curl -i -X POST \
  -u <username>:<password> \
  https://demo.traccar.org/api/geofences \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "name": "string",
    "description": "string",
    "area": "string",
    "calendarId": 0,
    "attributes": {}
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)
namestring
descriptionstring
areastring
calendarIdinteger(int64)
attributesobject
Response
application/json
{ "id": 0, "name": "string", "description": "string", "area": "string", "calendarId": 0, "attributes": {} }

Request

Security
BasicAuth or ApiKey
Path
idintegerrequired
Bodyapplication/jsonrequired
idinteger(int64)
namestring
descriptionstring
areastring
calendarIdinteger(int64)
attributesobject
curl -i -X PUT \
  -u <username>:<password> \
  'https://demo.traccar.org/api/geofences/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "name": "string",
    "description": "string",
    "area": "string",
    "calendarId": 0,
    "attributes": {}
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)
namestring
descriptionstring
areastring
calendarIdinteger(int64)
attributesobject
Response
application/json
{ "id": 0, "name": "string", "description": "string", "area": "string", "calendarId": 0, "attributes": {} }

Request

Security
BasicAuth or ApiKey
Path
idintegerrequired
curl -i -X DELETE \
  -u <username>:<password> \
  'https://demo.traccar.org/api/geofences/{id}'

Responses

No Content

Body

Commands

Sending commands to devices and stored command management

Operations

Attributes

Computed attributes management

Operations
Operations
Operations
Operations

Statistics

Retrieving server statistics

Operations