ProReport - Get all report instances
API Url
Use it for loading all report instances that were saved in the repository.
http://localhost:16010/ProMarkREST/rest/ProReport/repository
Permissions: user
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| savedReports | Object[] | Object with all saved report instances. |
| canEdit | Boolean | True = Logged in user can change the report. |
| desc | String | Description of the report instance. |
| expiry | Date | Date when report will stop being available in the repository. |
| fileId | String | Unique identifier of the report files. Needed when opening reports. |
| id | String | Unique identifier of the report instance. |
| owner | String | Report creator's user id. |
| parentId | String | Unique identifier of the report used when running this instance. |
| private | Boolean | Report's security status. |
| recurrent | Boolean | true=Report is part of a recurrence series. |
| reportType | String | Report type (0=Classic report, 1=Excel report, 2=Host report). |
| runTime | Datetime | Date and time when report was executed. If 'null', the report was not yet executed (delayed execution). |
sharedWithoptional | String | Available only for ownder. A list of users ids of users that have access to the report. |
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": {"savedReports": [{"id": "Rep10000","desc": "Account balance on employee","runTime": "2016-11-01T08:00:00.000","expiry": "2016-11-30","fileId": "13243546","recurrent": false,"parentId": "AccBalance02","reportType": 0,"owner": "MGR","canEdit": true,"private": true}]},"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. |