ProReport - Get report categories
API Url
Used for grouping together reports.
GET
http://localhost:16010/ProMarkREST/rest/ProReport/categories
Permissions: user
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| categories | Object[] | List of report categories. |
| desc | String | Category description. |
| id | String | Category identifier. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Success example:
HTTP/1.1 200 OK{"response": {"categories": [{"id": "1","desc": "Absence"},{"id": "2","desc": "Balance"}],"errorCode": 0,"errorMessage": ""}}
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. |