Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejs
titlex-eagle-rest-callback
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

...