GET api/CampaignMedia?systemName={systemName}&username={username}&password={password}&campaignId={campaignId}&offset={offset}&limit={limit}

Gets all campaign medias for campaign

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

campaignId

integer

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APICampaignMedia
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

CampaignId

Unique identifier of campaign to which this belongs

integer

None.

MediaId

Unique identifier of media to which this relates

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "campaignId": 2,
    "mediaId": 3
  },
  {
    "id": 1,
    "campaignId": 2,
    "mediaId": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPICampaignMedia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APICampaignMedia>
    <CampaignId>2</CampaignId>
    <Id>1</Id>
    <MediaId>3</MediaId>
  </APICampaignMedia>
  <APICampaignMedia>
    <CampaignId>2</CampaignId>
    <Id>1</Id>
    <MediaId>3</MediaId>
  </APICampaignMedia>
</ArrayOfAPICampaignMedia>