GET api/CampaignCategory?sessionId={sessionId}&campaignId={campaignId}&offset={offset}&limit={limit}

Gets all campaign categories for campaign

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

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 APICampaignCategory
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

CampaignId

Unique identifier of campaign to which this belongs

integer

None.

CategoryId

Unique identifier of category to which this relates

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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