Method :POST

URL: https://apiv1.publicators.com/api/Campaigns/GetCampaignsBasicDetailsByDatesRange

Get campaigns basic fields data by sent dates range

Request Information

URI Parameters

None.

Body Parameters

Json format: CampaignsGetByDateRangeBindingeModel

CampaignsGetByDateRangeBindingeModel
NameDescriptionTypeAdditional information
Auth

Token

AuthorizationTokenBindingModel

Required

FromSentDate

DateTime format yyyy/MM/dd HH:mm:ss

date

Required

ToSentDate

DateTime format yyyy/MM/dd HH:mm:ss

date

Required

Request Formats

application/json, text/json

Sample:
{
  "Auth": {
    "Token": "eb5c74ea-ce22-4006-a4ad-6b5a1077f547"
  },
  "FromSentDate": "2018/12/11 05:23:44",
  "ToSentDate": "2018/12/11 05:23:44"
}

Response Information

Resource Description

Json format: GetCampaignsBasicDetailsByDatesRange

Collection of CampaignBasicDetailsViewModel
NameDescriptionTypeAdditional information
ID

Campaign ID

integer

None.

CreatedDate

Creation date. DateTime format yyyy/MM/dd HH:mm:ss

date

None.

CampaignStatusDescription

Campaign status type description

string

None.

CampaignStatusType

Campaign status type

CampaignStatusTypes

None.

ListId

List ID that the campaign sent to

integer

None.

ListName

List Name that the campaign sent to

string

None.

CampaignEventType

Campaign event type

CampaignEventsTypes

None.

CampaignEventTypeDescription

Campaign event type description

string

None.

FromName

From name

string

None.

FromEmail

From email

string

None.

Subject

Campaign subject

string

None.

SentDate

Sent date. DateTime format yyyy/MM/dd HH:mm:ss

date

None.

Address

Customer address

string

None.

Contact

Contact details

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CreatedDate": "2018/12/11 05:23:44",
    "CampaignStatusDescription": "sample string 2",
    "CampaignStatusType": 1,
    "ListId": 1,
    "ListName": "sample string 3",
    "CampaignEventType": 0,
    "CampaignEventTypeDescription": "sample string 4",
    "FromName": "sample string 5",
    "FromEmail": "sample string 6",
    "Subject": "sample string 7",
    "SentDate": "2018/12/11 05:23:44",
    "Address": "sample string 8",
    "Contact": "sample string 9"
  },
  {
    "ID": 1,
    "CreatedDate": "2018/12/11 05:23:44",
    "CampaignStatusDescription": "sample string 2",
    "CampaignStatusType": 1,
    "ListId": 1,
    "ListName": "sample string 3",
    "CampaignEventType": 0,
    "CampaignEventTypeDescription": "sample string 4",
    "FromName": "sample string 5",
    "FromEmail": "sample string 6",
    "Subject": "sample string 7",
    "SentDate": "2018/12/11 05:23:44",
    "Address": "sample string 8",
    "Contact": "sample string 9"
  }
]