GET api/IVRContactInfo?clientId={clientId}
Gets the contact information for each device type for a client.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationContactInformation| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationMethod |
Gets the notification method (phone, sms, email) |
NotificationMethod |
None. |
| DestinationAddress |
Gets the destination address (eg phone number or email) |
string |
None. |
| WillUseBookingContact |
Gets whether the contact information on the booking will be used, if any is specified |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"notificationMethod": 0,
"destinationAddress": "sample string 1",
"willUseBookingContact": true
},
{
"notificationMethod": 0,
"destinationAddress": "sample string 1",
"willUseBookingContact": true
}
]
application/xml, text/xml
Sample:
<ArrayOfNotificationContactInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
<NotificationContactInformation>
<DestinationAddress>sample string 1</DestinationAddress>
<NotificationMethod>Voice</NotificationMethod>
<WillUseBookingContact>true</WillUseBookingContact>
</NotificationContactInformation>
<NotificationContactInformation>
<DestinationAddress>sample string 1</DestinationAddress>
<NotificationMethod>Voice</NotificationMethod>
<WillUseBookingContact>true</WillUseBookingContact>
</NotificationContactInformation>
</ArrayOfNotificationContactInformation>