For more information on using API

GET https://webapi.mymarketing.co.il/api/campaignreports/{id}/bounced?BounceType={BounceType}

Get a specific campaign's bounces by bounce type.

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Campaign id

integer

Required

BounceType

Get bounces by specific type ("soft" - temporary fail. Future campaigns can be sent to those email addresses or "hard" - permanent fail. Future campaigns will not be sent to those email addresses.)

string

Body Parameters

None.

Response Information

Resource Description

ApiCampaignBouncedReport

Name

Description

Type

Additional information

campaign

Campaign Bounces

Response Formats

application/json, text/json

Sample:
{
  "campaign": {
    "id": 1,
    "count": 2,
    "bounces": [
      {
        "type": "sample string 1",
        "count": 2,
        "emails": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "type": "sample string 1",
        "count": 2,
        "emails": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ApiCampaignBouncedReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.CampaignReport">
  <campaign>
    <bounces>
      <ApiCampaignBouncedList>
        <count>2</count>
        <emails xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </emails>
        <type>sample string 1</type>
      </ApiCampaignBouncedList>
      <ApiCampaignBouncedList>
        <count>2</count>
        <emails xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </emails>
        <type>sample string 1</type>
      </ApiCampaignBouncedList>
    </bounces>
    <count>2</count>
    <id>1</id>
  </campaign>
</ApiCampaignBouncedReport>