...
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 receive ACK with scheduleId and correlationId.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "taskIdentifier": { "correlationId": { "value": "QJPUFAJAJ0KRA0PWF" } }, "isNegative": false, "reason": { "reasonTypeEnum": "INFO", "reasonCode": { "value": "3556152" } }, "header": { "sentBy": { "value": "http://www.eagleinvsys.com/" }, "creationTimestamp": "2018-03-23T13:00:28.349-04:00", "messageId": { "value": "Q57Y8G6AJC" } } } |
In the response above "reasonCode" value is a schedule definition id. After successful processing result will be sent on URL defined as a callback.
...