GET api/Category/{id}?sessionId={sessionId}

Gets a specific category

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

sessionId

string

Required

Body Parameters

None.

Response Information

Resource Description

APICategory
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

ParentId

Unique identifier of parental category to which this belongs

integer

None.

Type

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

string

None.

Group

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

boolean

None.

Name

Textual identifier

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "parentId": 1,
  "type": "sample string 2",
  "group": true,
  "name": "sample string 3"
}

application/xml, text/xml

Sample:
<APICategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <Group>true</Group>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <ParentId>1</ParentId>
  <Type>sample string 2</Type>
</APICategory>