For more information on using API

GET http://webapi.mymarketing.co.il/api/campaigns/SentCampaigns

Return a list of sent campaigns

Request Information

URI Parameters

Body Parameters

None.

Response Information

Resource Description

Collection of ApiCampaignListItem

Name

Description

Type

Additional information

id

Campaign id

integer
name

Campaign name

string
subject

Campaign subject

string
send_type

Send type from campaigns send type list

is_sent

If the campaign was sent

boolean
total_sent

Total number of emails sent

integer
last_updated

Last date the campaign was updated

date
preheader

The preheader text of the campaign

string
predictive_delivery

Predictive delivery

boolean

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "subject": "sample string 3",
    "send_type": "Empty",
    "is_sent": true,
    "total_sent": 1,
    "last_updated": "2016-12-24T14:12:12",
    "preheader": "sample string 6",
    "predictive_delivery": true
  },
  {
    "id": 1,
    "name": "sample string 2",
    "subject": "sample string 3",
    "send_type": "Empty",
    "is_sent": true,
    "total_sent": 1,
    "last_updated": "2016-12-24T14:12:12",
    "preheader": "sample string 6",
    "predictive_delivery": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiCampaignListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <ApiCampaignListItem>
    <id>1</id>
    <is_sent>true</is_sent>
    <last_updated>2016-12-24T14:12:12</last_updated>
    <name>sample string 2</name>
    <predictive_delivery>true</predictive_delivery>
    <preheader>sample string 6</preheader>
    <send_type>Empty</send_type>
    <subject>sample string 3</subject>
    <total_sent>1</total_sent>
  </ApiCampaignListItem>
  <ApiCampaignListItem>
    <id>1</id>
    <is_sent>true</is_sent>
    <last_updated>2016-12-24T14:12:12</last_updated>
    <name>sample string 2</name>
    <predictive_delivery>true</predictive_delivery>
    <preheader>sample string 6</preheader>
    <send_type>Empty</send_type>
    <subject>sample string 3</subject>
    <total_sent>1</total_sent>
  </ApiCampaignListItem>
</ArrayOfApiCampaignListItem>