GET api/Category

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CategoryS
NameDescriptionTypeAdditional information
CategoryID

integer

None.

Name

string

None.

ParentCategoryID

integer

None.

DisplayOrder

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CategoryID": 1,
    "Name": "sample string 2",
    "ParentCategoryID": 3,
    "DisplayOrder": 4
  },
  {
    "CategoryID": 1,
    "Name": "sample string 2",
    "ParentCategoryID": 3,
    "DisplayOrder": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategoryS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCircleCommon">
  <CategoryS>
    <CategoryID>1</CategoryID>
    <DisplayOrder>4</DisplayOrder>
    <Name>sample string 2</Name>
    <ParentCategoryID>3</ParentCategoryID>
  </CategoryS>
  <CategoryS>
    <CategoryID>1</CategoryID>
    <DisplayOrder>4</DisplayOrder>
    <Name>sample string 2</Name>
    <ParentCategoryID>3</ParentCategoryID>
  </CategoryS>
</ArrayOfCategoryS>