For the complete documentation index, see llms.txt. This page is also available as Markdown.

Group

A visual grouping of trackers in the interface, with a title and a colour.

A tracker group organises trackers in the interface. Its function is purely visual: a group carries a title and a colour, and grants nothing and restricts nothing.

Groups are a master-user feature. Every operation here except listing requires the admin right, which cannot be given to a sub-user. A tracker belongs to at most one group, and assigning it to group 0 takes it out of any group.

Group object

API actions

API base path: /tracker/group.

Operations that list no errors of their own return only the general error codes.


Required sub-user rights: admin, available only to master users.

Assign trackers to a group

post
/tracker/group/assign

Move several trackers into a group at once. Pass 0 as the group to take them out of any group.

Requires the admin right.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
idintegerRequired

Target group ID, or 0 to remove the trackers from any group.

Example: 167
trackersinteger[]Required

Trackers to move.

Example: [999199,999919]
Responses
200

The trackers were assigned

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/group/assign
POST /v2/tracker/group/assign HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "id": 167,
  "trackers": [
    999199,
    999919
  ]
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - No group with this ID, or it belongs to another user.

  • 217 - The list names trackers that do not exist or belong to another user.


Required sub-user rights: admin, available only to master users.

Create a group

post
/tracker/group/create

Create a new, empty tracker group. Both title and colour are required.

Requires the admin right.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
titlestring · min: 1 · max: 60Required

Group title.

Example: Employees
colorstringRequired

Group colour in web format without a leading #.

Example: FF6DDC
Responses
200

The created group

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
idintegerOptional

ID of the new group.

Example: 222
post/tracker/group/create
POST /v2/tracker/group/create HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "title": "Employees",
  "color": "FF6DDC"
}
{
  "success": true,
  "id": 222
}

Required sub-user rights: admin, available only to master users.

Delete a group

post
/tracker/group/delete

Delete a group. Its trackers are not deleted: they move to the default group, ID 0.

Requires the admin right.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
idintegerRequired

ID of the group to delete.

Example: 167
Responses
200

The group was deleted

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/group/delete
POST /v2/tracker/group/delete HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10

{
  "id": 167
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - No group with this ID, or it belongs to another user.


List tracker groups

post
/tracker/group/list

Get the account's tracker groups. Reachable from a geo link session as well as a normal one.

There is always a default unnamed group with ID 0. It cannot be changed or deleted and is not returned here.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
objectOptional
Responses
200

The groups

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/group/list
POST /v2/tracker/group/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "success": true,
  "list": [
    {
      "id": 167,
      "title": "Main office",
      "color": "FF6DDC"
    }
  ]
}

Required sub-user rights: admin, available only to master users.

Update a group

post
/tracker/group/update

Change a group's title and colour. Both are required, so this always writes both.

Requires the admin right.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
idintegerRequired

ID of the group to update.

Example: 167
titlestring · min: 1 · max: 60Required

Group title.

Example: Employees
colorstringRequired

Group colour in web format without a leading #.

Example: FF6DDC
Responses
200

The group was updated

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/group/update
POST /v2/tracker/group/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "id": 167,
  "title": "Employees",
  "color": "FF6DDC"
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - No group with this ID, or it belongs to another user.

Last updated

Was this helpful?