GET api/statustypes?statusObjectType={statusObjectType}

Retrieves all the status types from the paratransit apps

Request Information

URI Parameters

NameDescriptionTypeAdditional information
statusObjectType

StatusObjectType

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StatusType
NameDescriptionTypeAdditional information
Name

The status type title used in the Paratransit App

string

None.

Active

Whether the status type is used supposed to be categorized as active or inactive

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "active": true
  },
  {
    "name": "sample string 1",
    "active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfStatusType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <StatusType>
    <Active>true</Active>
    <Name>sample string 1</Name>
  </StatusType>
  <StatusType>
    <Active>true</Active>
    <Name>sample string 1</Name>
  </StatusType>
</ArrayOfStatusType>