GET api/clientcontacttypes
Gets the list of all available client contact types in the paratransit application. Refers to contact types in Para Transit Application.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns the list of client contact types.
Collection of ClientContactTypeName | Description | Type | Additional information |
---|---|---|---|
Code |
Gets or sets the code that can be used to identify the contact type. |
string |
None. |
Description |
Gets or sets the description of the contact type. |
string |
None. |
AllowMultiple |
Gets or sets whether multiple contacts of this type are allowed. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "code": "sample string 1", "description": "sample string 2", "allowMultiple": true }, { "code": "sample string 1", "description": "sample string 2", "allowMultiple": true } ]
application/xml, text/xml
Sample:
<ArrayOfClientContactType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <ClientContactType> <AllowMultiple>true</AllowMultiple> <Code>sample string 1</Code> <Description>sample string 2</Description> </ClientContactType> <ClientContactType> <AllowMultiple>true</AllowMultiple> <Code>sample string 1</Code> <Description>sample string 2</Description> </ClientContactType> </ArrayOfClientContactType>