For more information on using API

GET https://webapi.mymarketing.co.il/api/campaignreports/{id}/unopened?Groupid={Groupid}&FromDate={FromDate}&ToDate={ToDate}&Page={Page}&Limit={Limit}

Get contacts that didn't open a specific campaign. You can choose to get all the contacts that didn't open from a specific group. You can limit the search to specific time (by default, the search will be for campaigns that were updated in the last 3 months. Please note: if the campaign you are searching for wasn't sent in the given dates - you'll get an empty list)

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Campaign id. Can be found using the endpoint "Get account's email campaigns..." or in the UI (go to Emails->Emails Lists->click on the campaign's preview -> you'll find the id int the URL)

integer

Required

group_id

Group id. Can be found using the endpoint "Get account's groups" or in the UI (go to Contacts->Groups->click on the group's name -> you'll find the id int the URL)

integer
from_date

The start date the campaign was last updated

date
to_date

The end date the campaign was last updated

date
page

Get a specific page (number of pages is limited)

integer

Range: inclusive between 1 and 2147483647

limit

Limit the number of items you get in the results. (Removing the "limit" will, by default, display only 20 records)

integer

Range: inclusive between 1 and 100

Body Parameters

None.

Response Information

Resource Description

ApiCampaignUnopenedList

Name

Description

Type

Additional information

unopened

Unopened = Emails that were delivered to the contact's inbox, but not opened.

integer
unopened_rate

Unopened Rate = Unopened / Sent.

decimal number
campaign_unopened

List of campaign unopened

Collection of ApiCampaignUnopened

Response Formats

application/json, text/json

Sample:
{
  "unopened": 1,
  "unopened_rate": 2.1,
  "campaign_unopened": [
    {
      "first_name": "sample string 1",
      "last_name": "sample string 2",
      "email": "sample string 3"
    },
    {
      "first_name": "sample string 1",
      "last_name": "sample string 2",
      "email": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<ApiCampaignUnopenedList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.CampaignReport">
  <campaign_unopened>
    <ApiCampaignUnopened>
      <email>sample string 3</email>
      <first_name>sample string 1</first_name>
      <last_name>sample string 2</last_name>
    </ApiCampaignUnopened>
    <ApiCampaignUnopened>
      <email>sample string 3</email>
      <first_name>sample string 1</first_name>
      <last_name>sample string 2</last_name>
    </ApiCampaignUnopened>
  </campaign_unopened>
  <unopened>1</unopened>
  <unopened_rate>2.1</unopened_rate>
</ApiCampaignUnopenedList>