POST api/v1/topicv1/GetCategory

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OddCategoryDto
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryName

string

None.

Sort

integer

None.

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<ArrayOfOddCategoryDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OddCategoryDto>
    <Id>1</Id>
    <CategoryName>sample string 2</CategoryName>
    <Sort>3</Sort>
  </OddCategoryDto>
  <OddCategoryDto>
    <Id>1</Id>
    <CategoryName>sample string 2</CategoryName>
    <Sort>3</Sort>
  </OddCategoryDto>
</ArrayOfOddCategoryDto>

text/json

Sample:
[
  {
    "Id": 1,
    "CategoryName": "sample string 2",
    "Sort": 3
  },
  {
    "Id": 1,
    "CategoryName": "sample string 2",
    "Sort": 3
  }
]

text/xml

Sample:
<ArrayOfOddCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Activity.Odd">
  <OddCategoryDto>
    <CategoryName>sample string 2</CategoryName>
    <Id>1</Id>
    <Sort>3</Sort>
  </OddCategoryDto>
  <OddCategoryDto>
    <CategoryName>sample string 2</CategoryName>
    <Id>1</Id>
    <Sort>3</Sort>
  </OddCategoryDto>
</ArrayOfOddCategoryDto>