...
Code Block |
---|
language | js |
---|
title | x-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 receive an ACK with the scheduleId and the 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"
}
}
} |
...