ProReport - Get recent reports
API Url
Use it for loading a list of recently used reports. You can also send a size to limit the list of results.
GET
http://localhost:16010/ProMarkREST/rest/ProReport/recent/{size}
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
sizeoptional | Number | History limit. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| recentReports | Object[] | List of recent reports. |
| id | String | Report identifier. |
| name | String | Name of the report. |
| order | Number | History order where smallest is the most recent. |
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": {"data": {"recentReports": [{"id": "Absence01","order": 1,"name": "Absence rules on totals 120 days"},{"id": "Period02","order": 2,"name": "Account registrations"}]},"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. |