Click and Access API
The Click & Access feature allows you to open and login to Trackunit Manager by use of a URL, in connection with a login token.
Selected parameters can be appended to the URL, making it possible to e.g. open Trackunit Manager with specific units pre-selected, and the map level zoomed to fit this selection.
Authentication
A login token is required to use the Click & Access feature.
Such a token can be acquired by utilizing the following GET request.
URL Structure is:
https://manager.trackunit.com/GetLoginToken.ashx?userName={USER_NAME}&password={PASSWORD}
Name | Description |
---|---|
{USER_NAME} | Your valid username for Trackunit Manager. |
{PASSWORD} | Your password for Trackunit Manager. |
Parameters {USER_NAME}
and {PASSWORD}
must specify valid credentials (also not expired).
Code | Description |
---|---|
200 | If successful, HTTP status code 200 is returned, and a login token returned in the response stream (as plain text string). |
The token has a lifetime of 2 minutes. This means that the token must be used no later than 2 minutes after obtaining it. The token is valid for 24 hours.
Protocol
To use the Click & Access feature, you must use your login token (see section General) with the following URL format:
https://manager.trackunit.com/Open.ashx?token=TOKEN&language={LANGUAGE}{OTHER_PARAMETERS}
Supported parameters
Supported parameters are:
Name | Description |
---|---|
language | Sets the FMS language. |
tab | Sets the actual tab. Set to Map, when tracking single unit. |
action | Set to trackUnit, when tracking a single unit. |
unit | Serial number of unit to show (map level zoomed to fit). |
Supported language codes
Supported language codes are:
Name | Description |
---|---|
ar-AE | Arabic (UAE) |
cs | Czech |
da | Danish |
de | German |
en-GB | English (Great Britain) |
en-US | English (USA) |
es | Spanish |
fi | Finnish |
fr | French |
hu | Hungarian |
it-IT | Italian (Italy) |
nl | Dutch |
no | Norwegian |
pl | Polish |
ro | Romanian |
ru | Russian |
sk | Slovak |
sv | Swedish |
pt-BR | Portuguese (Brazilian) |
th | Thai |
Example
Example of URL with specific parameters:
https://manager.trackunit.com/Open.ashx?token=f2babbac598d47d6b99ba70c000002db&language=en-GB&tab=map&action=trackUnit&unit=998877
Updated less than a minute ago