Table of Contents | ||
---|---|---|
|
...
This method returns an authentication token which can subsequently be used by all other Web API method to access the system.
Note |
---|
Token expires every after one (1) hour and a new one will need to be retrievedhour of idle time (i.e. one hour of not using the token) |
Resource URL
Parameters
Name | Type | Description |
---|---|---|
username (mandatory) | String | The username that should be used to login. |
password (mandatory) | String | The password that should be used to login. |
organisation (mandatory) | String | The organization on which the user will login |
unit (optional) | String | The unit ID that the user will use during login. If not specified then the default unit for that user is used |
...
POST authentication/token/release
Tip |
---|
This method releases an authentication token in order to make it not usable by any other subsequent Web API calls
...
Parameters
Name | Type | Description |
---|---|---|
token (mandatory) | String | The authentication token which will be released |
...