...
In response you will get ACK with scheduleId and correlationId
{
"taskIdentifier": {
"correlationId": {
"value": "
8RTFPDOM5CQCNOVB1"
QJPUFAJAJ0KRA0PWF"
}
},
"isNegative": false,
"reason": {
"reasonTypeEnum": "INFO",
"reasonCode": {
"value": "
3554701"
3556152"
}
},
"header": {
"sentBy": {
"value": "http://www.eagleinvsys.com/"
},
"creationTimestamp": "2018-03-
22T1423T13:
3700:
4628.
854349-04:00",
"messageId": {
"value": "
RGCOCKW1ED"
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.
In case of unavailable pace-report service server or any error before actual processing takes place server will respond TSR ACK with error description
Example:
In case of error on pace-report rest api side server respond negative ACK with error description
...
{
"taskIdentifier": {
"correlationId": {
"value": "8RTFPDOM5CQCNOVB1"
}
},
"isNegative": true,
"reason": {
"reasonTypeEnum": "ERROR",
"description": "Service Temporarily Unavailable"
},
"header": {
"sentBy": {
"value": "http://www.eagleinvsys.com/"
},
"creationTimestamp": "2018-03-23T12:31:57.541-04:00",
"messageId": {
"value": "L2364E1UX6"
}
}
}
Executing Ad Hoc Report with ticketing
...
If report request is processed you will get TSR with status of request
{
"statusItem": [
{
"taskIdentifier": {
"correlationId": {
},
"value": "8S8WFEP8H14HIZJT9"
}
},
"status": "SUCCESS",
"severityCode": {
"value": "1"
},
"reason": [
{}
]
]
}
],
"header": {
"sentBy": {
"value": "http://www.eagleinvsys.com/"
},
"creationTimestamp": "2018-03-
22T1423T13:
4301:
1350.
095312-04:00"
}
}
Where status could be "SUCCESS" of "FAILED" or if request still in processing you will get ACK similar to the first one. In case of success you can get report sending the request http://host:port/eagle/report/v1/adhocReport/correlationId
...