You can configure automatic push of report data to your application in the EAS portal.
If your application is temporarily not reachable, there will be three retries in the first minute, an additional nine retries in the first 10 minutes, and a further retry every 15 minutes for approximately 48 hours. You also have the option of obtaining the data using the methods described in Method getJobReport (SOAP) and Getting information about all recipients of a job (REST).
Please ensure that your application can process the data as specified in Method getJobReport (SOAP) and JobReport (REST). The response will be identical to that in the JobReportResponse.
Authentication
You can configure an authentication method for the delivery notification callback. Choose the method in the Delivery notifications section of the SMS-for-Applications profile: None, Basic, Digest, or OAuth2.
If you select OAuth2, you also configure an authorization server and a scope for the access token. For the full list of fields and how to configure them, see Configuration in EAS.
Example - HTTP response
{
"jobId":"J.20170213-182658.913-0iz4dgspu5ZOCRYF9D",
"src":"retarusREST",
"encoding":"utf-16",
"billcode":"Billingcode",
"statusRequested":true,
"flash":false,
"validityMin":7,
"customerRef":"JOBREF.000001",
"qos":"NORMAL",
"receiptTs":"2017-02-13T17:26:58.945Z",
"finishedTs":"2017-02-13T17:29:11.665Z",
"recipients":[
{
"smsId":"S.20170213-182659.179-0iz4dgsx9BOF8KNY0@",
"dst":"+491700000100000000",
"processStatus":"DONE",
"status":"SUC_FIN",
"customerRef":"+491700000100000000",
"reason":"message_state:DELIVERED [00000002] (Final) (Message is delivered to destination.)",
"sentTs":"2017-02-13T17:27:10.714Z",
"finishedTs":"2017-02-13T17:29:11.656Z"
},
{
"smsId":"S.20170213-182659.179-0iz4dgsxaKHCU8IG0@",
"dst":"+491700001100000000",
"processStatus":"DONE",
"status":"SUC_FIN",
"customerRef":"+491700001100000000",
"reason":"message_state:DELIVERED [00000002] (Final) (Message is delivered to destination.)",
"sentTs":"2017-02-13T17:27:10.714Z",
"finishedTs":"2017-02-13T17:29:11.656Z"
},
{
"smsId":"S.20170213-182659.179-0iz4dgsxbXIY7VEQ0@",
"dst":"+491700002100000000",
"processStatus":"DONE",
"status":"SUC_FIN",
"customerRef":"+491700002100000000",
"reason":"message_state:DELIVERED [00000002] (Final) (Message is delivered to destination.)",
"sentTs":"2017-02-13T17:27:10.714Z",
"finishedTs":"2017-02-13T17:29:11.656Z"
}
]
}