Authorization - Authorize a user
API Url
Authorize a give user into ProMark.
POST
http://localhost:16010/ProMarkREST/web/Auth/authorization
Permissions: sysop
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
| authorization | Object | The user data to be authorized |
| password | String | The password to be validated. |
| username | String | Username of the user. |
Request example:
{"request": {"data": {"authorization": {"username": "john@domain.com","password": "mySecretPassword"}}}}
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |