ProReport - Preview report permissions
API Url
Used for preview permission for a specific report.
POST
http://localhost:16010/ProMarkREST/rest/ProReport/reports/{id}/permission-results
Permissions: user
Parameter
| Field | Type | Description |
|---|---|---|
| id | String | Report id. |
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
| userProfiles | String[] | List of selected user Profiles. |
| users | String[] | List of selected users. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| users | Object[] | Collection of users that have access to this report. |
| id | String | User id |
| name | String | User Name |
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": {"users": [{"id": "MGI","name": "Matei Iancu"},{"id": "ATO","name": "Andre Tores"}]},"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. |