GET PlanCare2Api/RootData/costTypes

Fetch available cost types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns a list of available cost types

Collection of CostType
Name Description Type Additional information
Id

The internal id of the cost type

integer

-

Code

The code of the cost type

string

-

Description

The description of the cost type

string

-

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfCostType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.RootData">
  <CostType>
    <Code>sample string 2</Code>
    <Description>sample string 3</Description>
    <Id>1</Id>
  </CostType>
  <CostType>
    <Code>sample string 2</Code>
    <Description>sample string 3</Description>
    <Id>1</Id>
  </CostType>
</ArrayOfCostType>