For more information on using API

GET http://webapi.mymarketing.co.il/api/automationreports/{id}/automationpushnotificationcampaignstatistic

Get Push Notification campaigns statistics for a specific automation.

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Automation id. Can be found using the endpoint "Get account's automations" or in the UI (go to Automations->Automations Lists->click on the automation's reports -> you'll find the id int the URL)

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiPushCampaignReportInfoList

Name

Description

Type

Additional information

totalitems

integer
count

integer
campaignreportslist

Response Formats

application/json, text/json

Sample:
{
  "totalitems": 2,
  "count": 2,
  "campaignreportslist": [
    {
      "campaignid": "0f3e6964-3e37-4f42-a915-7538d728d507",
      "campaignname": "sample string 2",
      "sentdate": "2016-12-24T14:12:12",
      "senttype": 1,
      "totalclicks": 3,
      "clickers": 4,
      "unsubscribe": 5,
      "failed": 6,
      "failedPercentage": 7.1,
      "totalsent": 8,
      "opens": 9,
      "openedPercentage": 10.1,
      "totalDevices": 11
    },
    {
      "campaignid": "0f3e6964-3e37-4f42-a915-7538d728d507",
      "campaignname": "sample string 2",
      "sentdate": "2016-12-24T14:12:12",
      "senttype": 1,
      "totalclicks": 3,
      "clickers": 4,
      "unsubscribe": 5,
      "failed": 6,
      "failedPercentage": 7.1,
      "totalsent": 8,
      "opens": 9,
      "openedPercentage": 10.1,
      "totalDevices": 11
    }
  ]
}

application/xml, text/xml

Sample:
<ApiPushCampaignReportInfoList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TotalItems>2</TotalItems>
  <Count>2</Count>
  <pushCampaignReportsInfo>
    <ApiPushCampaignReportInfo>
      <Id>0f3e6964-3e37-4f42-a915-7538d728d507</Id>
      <Name>sample string 2</Name>
      <SendDate>2016-12-24T14:12:12</SendDate>
      <SendType>Regular</SendType>
      <TotalClicks>3</TotalClicks>
      <Clickers>4</Clickers>
      <Unsubscribes>5</Unsubscribes>
      <Failed>6</Failed>
      <ErrorRate>7.1</ErrorRate>
      <TotalSent>8</TotalSent>
      <TotalOpens>9</TotalOpens>
      <OpenedPercentage>10.1</OpenedPercentage>
      <TotalDevices>11</TotalDevices>
    </ApiPushCampaignReportInfo>
    <ApiPushCampaignReportInfo>
      <Id>0f3e6964-3e37-4f42-a915-7538d728d507</Id>
      <Name>sample string 2</Name>
      <SendDate>2016-12-24T14:12:12</SendDate>
      <SendType>Regular</SendType>
      <TotalClicks>3</TotalClicks>
      <Clickers>4</Clickers>
      <Unsubscribes>5</Unsubscribes>
      <Failed>6</Failed>
      <ErrorRate>7.1</ErrorRate>
      <TotalSent>8</TotalSent>
      <TotalOpens>9</TotalOpens>
      <OpenedPercentage>10.1</OpenedPercentage>
      <TotalDevices>11</TotalDevices>
    </ApiPushCampaignReportInfo>
  </pushCampaignReportsInfo>
</ApiPushCampaignReportInfoList>