Table of Contents | ||
---|---|---|
|
POST authentication/token
This method returns an authentication token which can subsequently be used by all other Web API method to access the system.
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 |
organization (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 |
Response Data
Name | Type | Description |
---|---|---|
token | String | The authentication token which can be used to login |
Examples
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST Request:
Post Data:
Response:
|
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|