GET api/SpaceTypes
Gets the list of different type of space requirements that a client may reserve for their trip.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns the list of space types (code and name)
Collection of SpaceTypeName | Description | Type | Additional information |
---|---|---|---|
Code |
Gets or sets the code that can be used to identify the space type. |
string |
None. |
Name |
Gets or sets the friendly name of the space type. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "code": "AM", "name": "Ambulatory" }, { "code": "SC", "name": "Scooter" }, { "code": "TR", "name": "Transferable" }, { "code": "WH", "name": "Wheelchair" } ]
application/xml, text/xml
Sample:
<ArrayOfSpaceType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <SpaceType> <Code>AM</Code> <Name>Ambulatory</Name> </SpaceType> <SpaceType> <Code>SC</Code> <Name>Scooter</Name> </SpaceType> <SpaceType> <Code>TR</Code> <Name>Transferable</Name> </SpaceType> <SpaceType> <Code>WH</Code> <Name>Wheelchair</Name> </SpaceType> </ArrayOfSpaceType>