Get Email status
GET {{baseUrl}}/mra/v1/outbound/emails/status?job_id=xsi-1234567
Once an email request has been successfully accepted and a job ID is returned, this method allows users to request the information about the “job†as it is being processed by the OpenText messaging service.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
job_id | string | (Required) A string consists of xdn-mrn.Where xdn is domain name and mrn is job number. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MRA-SubmitId | string | Optional client supplied string to identify request. | |
Accept | string |
RESPONSES
status: OK
{"job_id":"xsi-1234567","job_state":["Complete","Posted"],"billing_code_base64":"dGVtcF9iaWxsX2NvZGU=","customer_reference_base64":"bXJhX2N1c3RfcmVm","entry_time":"2020-04-21T10:50:51.000Z","html_open_tracking":{"total_open_count":1,"distinct_open_count":1},"attachments":[{"attachment_id":-1,"name_base64":"b3Blbi5naWY=","size":1,"flags":["open","embedded"],"content_type":"image/gif","total_pull_count":1,"distinct_pull_count":1}],"deliveries":[{"ref_base64":"RkFYT1VU","email":"user@example.com","delivery_attempts":[{"state":"Sent","gamma_code":0,"first_attempt":"1949-07-05T06:55:58.288Z"},{"state":"Submitted","gamma_code":0,"first_attempt":"2014-05-13T11:12:09.699Z"}],"events":{"email_delivery_events":{"dsn":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"html_open":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"opt_out":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"pull":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}}},{"ref_base64":"RkFYT1VU","email":"user@example.com","delivery_attempts":[{"state":"Submitted","gamma_code":0,"first_attempt":"2015-01-10T20:57:33.121Z"},{"state":"Error","gamma_code":0,"first_attempt":"2002-04-25T01:02:51.643Z"}],"events":{"email_delivery_events":{"dsn":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"html_open":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"opt_out":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"pull":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}}}]}