GET api/LocationTypes
Gets the list of all available location types in the paratransit application.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns the list of location types.
Collection of LocationTypeName | Description | Type | Additional information |
---|---|---|---|
Code |
Gets or sets the code that can be used to identify the location type. |
string |
None. |
Name |
Gets or sets the friendly name of the location type. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "code": "sample string 1", "name": "sample string 2" }, { "code": "sample string 1", "name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfLocationType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <LocationType> <Code>sample string 1</Code> <Name>sample string 2</Name> </LocationType> <LocationType> <Code>sample string 1</Code> <Name>sample string 2</Name> </LocationType> </ArrayOfLocationType>