For more information on using API

GET http://webapi.mymarketing.co.il/api/Pushcampaignreport?SendType={SendType}&SearchTerm={SearchTerm}&FromDate={FromDate}&ToDate={ToDate}&Page={Page}&Limit={Limit}

Get Push campaignsreports . You can get Push campaigns reports filtered (you will get the last 20 campaigns in the last 6 months by default)

Request Information

URI Parameters

Name

Description

Type

Additional information

send_type

integer
search_term

string
from_date

date
to_date

date
page

integer

Range: inclusive between 1 and 2147483647

limit

integer

Range: inclusive between 1 and 100

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": "270e59a3-9efc-4e86-9ba7-7e985f199902",
      "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": "270e59a3-9efc-4e86-9ba7-7e985f199902",
      "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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.BusinessLogic.Domain.PushNotification.PushCampaignReport">
  <Count>2</Count>
  <TotalItems>2</TotalItems>
  <pushCampaignReportsInfo>
    <ApiPushCampaignReportInfo>
      <campaignid>270e59a3-9efc-4e86-9ba7-7e985f199902</campaignid>
      <campaignname>sample string 2</campaignname>
      <clickers>4</clickers>
      <failed>6</failed>
      <failedPercentage>7.1</failedPercentage>
      <openedPercentage>10.1</openedPercentage>
      <opens>9</opens>
      <sentdate>2016-12-24T14:12:12</sentdate>
      <senttype>Regular</senttype>
      <totalDevices>11</totalDevices>
      <totalclicks>3</totalclicks>
      <totalsent>8</totalsent>
      <unsubscribe>5</unsubscribe>
    </ApiPushCampaignReportInfo>
    <ApiPushCampaignReportInfo>
      <campaignid>270e59a3-9efc-4e86-9ba7-7e985f199902</campaignid>
      <campaignname>sample string 2</campaignname>
      <clickers>4</clickers>
      <failed>6</failed>
      <failedPercentage>7.1</failedPercentage>
      <openedPercentage>10.1</openedPercentage>
      <opens>9</opens>
      <sentdate>2016-12-24T14:12:12</sentdate>
      <senttype>Regular</senttype>
      <totalDevices>11</totalDevices>
      <totalclicks>3</totalclicks>
      <totalsent>8</totalsent>
      <unsubscribe>5</unsubscribe>
    </ApiPushCampaignReportInfo>
  </pushCampaignReportsInfo>
</ApiPushCampaignReportInfoList>