...
In order to get report asynchronously you should , send your POST request to the http://host:port/eagle/report/v1/adhocReport with HTTP header x-eagle-rest-callback: http://your_host/your_endpoint (result will be . The result is sent to the defined URL) and set . Set your query parameters in JSON format as a request body.
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X POST -H "x-eagle-rest-callback: http://your_host/your_endpoint" -d @requestBody.json "http://host:port/eagle/report/v1/adhocReport" |
...
requstBody.json content: |
...
{ |
...
"reportName": "RF PLA SM LPO", |
...
"entityId": "2005P01", |
...
"beginDate": "20140101", |
...
"endDate": "20140131", |
...
"fields": "", |
...
"outputFormat":"JSON" |
...
} |
In response you will get ACK with scheduleId and correlationId
...