POST api/ReferenceData/CodeValue/GetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CodeSet
NameDescriptionTypeAdditional information
CodeSetId

integer

None.

CodeSetName

string

None.

CodeValues

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CodeSetId": 1,
    "CodeSetName": "sample string 2",
    "CodeValues": null
  },
  {
    "CodeSetId": 1,
    "CodeSetName": "sample string 2",
    "CodeValues": null
  }
]

text/html

Sample:
[{"CodeSetId":1,"CodeSetName":"sample string 2","CodeValues":null},{"CodeSetId":1,"CodeSetName":"sample string 2","CodeValues":null}]

application/xml, text/xml

Sample:
<ArrayOfCodeSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.Library.CodeSets.Storage">
  <CodeSet>
    <CodeSetId>1</CodeSetId>
    <CodeSetName>sample string 2</CodeSetName>
    <CodeValues i:nil="true" />
  </CodeSet>
  <CodeSet>
    <CodeSetId>1</CodeSetId>
    <CodeSetName>sample string 2</CodeSetName>
    <CodeValues i:nil="true" />
  </CodeSet>
</ArrayOfCodeSet>