Bounce Report
This method generates bounce reports.
info
If you do not specify a date range, only the reports from the last 24 hours will be generated.
This is a GET method.
REST WADL
https://atmp-pub-api-www3.actito.com/apinmpreporting/application.wadl
REST URL
https://atmp-pub-api-www3.actito.com/apinmpreporting/report/bounce?beginDate={beginDate}&endDate={endDate}
| Input parameters
Required parameters | Description | Output parameters | Description |
| ----------------------------------------------------------------------------- | ----------- | ----------------- | ----------- |
| token | (missing or bad snippet) | return | A bounce report is generated, otherwise an error code appears. |
| beginDate | (missing or bad snippet) | | |
| endDate | (missing or bad snippet) | | |
Error Descriptions
Status Code | Error Code | Error messages | Example Error Output |
---|---|---|---|
403 | Access denied. You must fill in the managerKey parameter to authentificate on this API You must fill in the password paramter to authentificate on this API. Please enter a valid token to validate your connection. Your session has expired due to timeout | <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ExceptionEntity><errorMessage>Access denied.</errorMessage></ExceptionEntity> | |
404 | API_209 | No result found | <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ExceptionEntity><errorCode>API_209</errorCode><errorMessage>No result found</errorMessage></ExceptionEntity> |
REST Example
Input
XML Input
URL
https://atmp-pub-api-www3.actito.com/apinmpreporting/report/bounce?beginDate=2012-04-11T20%3A22%3A06%2B02%3A00&endDate=2013-04-12T20%3A22%3A06%2B02%3A00
Header
{token}
content-type application/xml
accept application/xml
JSON Input
URL
https://atmp-pub-api-www3.actito.com/apinmpreporting/report/bounce?beginDate=2012-04-11T20%3A22%3A06%2B02%3A00&endDate=2013-04-12T20%3A22%3A06%2B02%3A00
Header
{token}
content-type application/json
accept application/json
Output
XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<report>
<bounce>
<name>nmp_content_pre_demo</name>
<nmMessageId>45696</nmMessageId>
<memberUID>FC54ACE86E02000F</memberUID>
<email>xxx@xxxx.com</email>
<requestDate>2012-08-13T12:58:33+01:00</requestDate>
<sendDate>2012-08-13T12:59:33+01:00</sendDate>
<processDate>2012-08-13T12:59:33+01:00</processDate>
<smtpErrorCode>0</smtpErrorCode>
<bounceType>-1</bounceType>
</bounce>
<bounce>
<name>nmp_content_test_msg</name>
<nmMessageId>45693</nmMessageId>
<memberUID>59BCDC04000106AD</memberUID>
<email>yyyy@yyyyy.com</email>
<requestDate>2012-08-13T11:47:33+01:00</requestDate>
<sendDate>2012-08-13T11:48:33+01:00</sendDate>
<processDate>2012-08-13T11:48:33+01:00</processDate>
<smtpErrorCode>0</smtpErrorCode>
<bounceType>-1</bounceType>
</bounce>
</report>
JSON Output
{
"bounce":
[
{
"name": "nmp_content_pre_demo",
"nmMessageId": 45696,
"memberUID": "FC54ACE86E02000F",
"email": "xxx@xxxxx.com",
"requestDate": "2012-08-13T12:58:33+01:00",
"sendDate": "2012-08-13T12:59:33+01:00",
"processDate": "2012-08-13T12:59:33+01:00",
"mtaReturnDate": null,
"dsnCode": null,
"smtpErrorCode": 0,
"bounceType": -1,
"smtpErrorMessage": null
},
{
"name": "nmp_content_test_msg",
"nmMessageId": 45693,
"memberUID": "59BCDC04000106AD",
"email": "yyyy@yyyy.com",
"requestDate": "2012-08-13T11:47:33+01:00",
"sendDate": "2012-08-13T11:48:33+01:00",
"processDate": "2012-08-13T11:48:33+01:00",
"mtaReturnDate": null,
"dsnCode": null,
"smtpErrorCode": 0,
"bounceType": -1,
"smtpErrorMessage": null
}
]
}