GET api/documents/categories

Get all document categories.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TextValueDTO
NameDescriptionTypeAdditional information
text

Text value.

string

None.

value

ID uniquiely identifying the text value.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "text": "sample string 1",
    "value": 2
  },
  {
    "text": "sample string 1",
    "value": 2
  }
]

text/html

Sample:
[{"text":"sample string 1","value":2},{"text":"sample string 1","value":2}]

application/xml, text/xml

Sample:
<ArrayOfTextValueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <TextValueDTO>
    <text>sample string 1</text>
    <value>2</value>
  </TextValueDTO>
  <TextValueDTO>
    <text>sample string 1</text>
    <value>2</value>
  </TextValueDTO>
</ArrayOfTextValueDTO>