GET PlanCare2Api/RootData/TravelMethods

Fetch available travel methods

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns a list of available travel methods

Collection of TravelMethod
NameDescriptionTypeAdditional information
Id

The internal id of the travel method

integer

None.

Code

The code of the travel method

string

None.

Description

The description of the travel method

string

None.

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:
<ArrayOfTravelMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.RootData">
  <TravelMethod>
    <Code>sample string 2</Code>
    <Description>sample string 3</Description>
    <Id>1</Id>
  </TravelMethod>
  <TravelMethod>
    <Code>sample string 2</Code>
    <Description>sample string 3</Description>
    <Id>1</Id>
  </TravelMethod>
</ArrayOfTravelMethod>