GET PlanCare2Api/RootData/ChoiceTypes

Gets all choice types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

The list of all choice types

Collection of ChoiceType
NameDescriptionTypeAdditional information
Name

The short name of the choice type.

string

Required

Description

The description of the choice type

string

None.

Category

The category of the choice type

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Category": "sample string 3"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfChoiceType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.CareRegistration">
  <ChoiceType>
    <Category>sample string 3</Category>
    <Description>sample string 2</Description>
    <Name>sample string 1</Name>
  </ChoiceType>
  <ChoiceType>
    <Category>sample string 3</Category>
    <Description>sample string 2</Description>
    <Name>sample string 1</Name>
  </ChoiceType>
</ArrayOfChoiceType>