GET api/Resources/GetCategories/{languageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CategoryDto
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

IconClass

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "IconClass": "sample string 3"
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "IconClass": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <CategoryDto>
    <IconClass>sample string 3</IconClass>
    <Id>1</Id>
    <Title>sample string 2</Title>
  </CategoryDto>
  <CategoryDto>
    <IconClass>sample string 3</IconClass>
    <Id>1</Id>
    <Title>sample string 2</Title>
  </CategoryDto>
</ArrayOfCategoryDto>