ProReport - Update reports
API Url
Used for updating reports.
PUT
http://localhost:16010/ProMarkREST/rest/ProReport/reports
Permissions: user
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
Success 200
| Field | Type | Description |
|---|---|---|
| reports | Object[] | Collection of reports. |
| categoryId | String | The id of the report category. Used to group reports together. |
| favorite | Boolean | true=This is a favorite report. |
| id | String | Report unique identifier(not updatable). |
| name | String | Name of the report. |
| parentId | String | Unique identifier of the parent report that was used for creating this custom report. Only when standard = false. |
| standard | Boolean | true=Standard report, false=Custom report. |
| type | Number | Report type (0=Classic report, 1=Excel report, 3=Host report). 0-3 |
| response | Object | Main object containing the response data. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |
Error example:
HTTP/1.1 200 OK{"response": {"errorCode": 0,"errorMessage": ""}}