GET api/FeedCategory?sessionId={sessionId}&feedId={feedId}&offset={offset}&limit={limit}

Gets all feed categories for feed

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

feedId

integer

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APIFeedCategory
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

FeedId

Unique identifier of feed to which this belongs

integer

None.

CategoryId

Unique identifier of category to which this relates

integer

None.

CategoryType

Type of category: Location, Browser, Device, DeviceType, Carrier, Connection or OperatingSystem

string

None.

CategoryGroup

Denotes a category used as a market such as a target market derived from location

boolean

None.

CategoryName

Textual identifier of category to which this relates

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "feedId": 2,
    "categoryId": 3,
    "categoryType": "sample string 4",
    "categoryGroup": true,
    "categoryName": "sample string 5"
  },
  {
    "id": 1,
    "feedId": 2,
    "categoryId": 3,
    "categoryType": "sample string 4",
    "categoryGroup": true,
    "categoryName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPIFeedCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APIFeedCategory>
    <CategoryGroup>true</CategoryGroup>
    <CategoryId>3</CategoryId>
    <CategoryName>sample string 5</CategoryName>
    <CategoryType>sample string 4</CategoryType>
    <FeedId>2</FeedId>
    <Id>1</Id>
  </APIFeedCategory>
  <APIFeedCategory>
    <CategoryGroup>true</CategoryGroup>
    <CategoryId>3</CategoryId>
    <CategoryName>sample string 5</CategoryName>
    <CategoryType>sample string 4</CategoryType>
    <FeedId>2</FeedId>
    <Id>1</Id>
  </APIFeedCategory>
</ArrayOfAPIFeedCategory>