GET api/Dictionary/GetCategory

'GetCategory' 的文件。

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "CategoryID": "sample string 1",
    "name": "sample string 2"
  },
  {
    "CategoryID": "sample string 1",
    "name": "sample string 2"
  },
  {
    "CategoryID": "sample string 1",
    "name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDictionary.Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Models">
  <Dictionary.Category>
    <CategoryID>sample string 1</CategoryID>
    <name>sample string 2</name>
  </Dictionary.Category>
  <Dictionary.Category>
    <CategoryID>sample string 1</CategoryID>
    <name>sample string 2</name>
  </Dictionary.Category>
  <Dictionary.Category>
    <CategoryID>sample string 1</CategoryID>
    <name>sample string 2</name>
  </Dictionary.Category>
</ArrayOfDictionary.Category>