ProReport - Update export options
API Url
Used for updating export options.
PUT
http://localhost:16010/ProMarkREST/rest/ProReport/repository/{id}/export
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| id | String | Unique identifier of the report instance. |
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 |
|---|---|---|
| export | Object[] | Collection of export. |
| format | String | Export document format (0=None, 14=Word, 31=PDF, 901=CSV). |
| saveTo | String | Location on disk where export file can be saved. This needs to be accessible to the reporting server! Only when 'format' > 0. |
| sendTo | String | List of e-mails to send report to. Only when 'format' > 0. |
| 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": ""}}