GET PlanCare2Api/ChoiceTypes

Gets all choice types

Deprecated (unavailable from 21.01.1P): use PlanCare2ApiRootdata/ChoiceTypes instead

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

The list of all choice types

Collection of ChoiceType
Name Description Type Additional information
Name

The short name of the choice type.

string

Required

Description

The description of the choice type

string

-

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>