POST api/usr/VoiceManagement?serviceNumber={serviceNumber}&pbxUserId={pbxUserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceNumber | string |
None. |
|
| pbxUserId | string |
None. |
Body Parameters
VoiceManagementDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AlwaysRedirectToVoiceMail | boolean |
None. |
|
| BusyRedirectToVoiceMail | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| NoAnswerRedirectToVoiceMail | boolean |
None. |
|
| SendCarbonCopyVoiceMessage | boolean |
None. |
|
| SendVoiceMessageNotifyEmail | boolean |
None. |
|
| TransferOnZeroToPhoneNumber | boolean |
None. |
|
| TransferPhoneNumber | string |
None. |
|
| UsePhoneMessageWaitingIndicator | boolean |
None. |
|
| Processing | integer |
None. |
|
| VoiceMessageCarbonCopyEmailAddress | string |
None. |
|
| VoiceMessageDeliveryEmailAddress | string |
None. |
|
| VoiceMessageNotifyEmailAddress | string |
None. |
|
| IsVoicemailToTextTranscriptionAvailable | boolean |
None. |
|
| TranscriptionEmail | string |
None. |
|
| VoicemailToEmail | string |
None. |
|
| VoicemailToEmailNoProfile | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"AlwaysRedirectToVoiceMail": true,
"BusyRedirectToVoiceMail": true,
"IsActive": true,
"NoAnswerRedirectToVoiceMail": true,
"SendCarbonCopyVoiceMessage": true,
"SendVoiceMessageNotifyEmail": true,
"TransferOnZeroToPhoneNumber": true,
"TransferPhoneNumber": "sample string 8",
"UsePhoneMessageWaitingIndicator": true,
"Processing": 10,
"VoiceMessageCarbonCopyEmailAddress": "sample string 11",
"VoiceMessageDeliveryEmailAddress": "sample string 12",
"VoiceMessageNotifyEmailAddress": "sample string 13",
"IsVoicemailToTextTranscriptionAvailable": true,
"TranscriptionEmail": "sample string 15",
"VoicemailToEmail": "sample string 16",
"VoicemailToEmailNoProfile": true
}
application/xml, text/xml
Sample:
<VoiceManagementDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.User"> <AlwaysRedirectToVoiceMail>true</AlwaysRedirectToVoiceMail> <BusyRedirectToVoiceMail>true</BusyRedirectToVoiceMail> <IsActive>true</IsActive> <IsVoicemailToTextTranscriptionAvailable>true</IsVoicemailToTextTranscriptionAvailable> <NoAnswerRedirectToVoiceMail>true</NoAnswerRedirectToVoiceMail> <Processing>10</Processing> <SendCarbonCopyVoiceMessage>true</SendCarbonCopyVoiceMessage> <SendVoiceMessageNotifyEmail>true</SendVoiceMessageNotifyEmail> <TranscriptionEmail>sample string 15</TranscriptionEmail> <TransferOnZeroToPhoneNumber>true</TransferOnZeroToPhoneNumber> <TransferPhoneNumber>sample string 8</TransferPhoneNumber> <UsePhoneMessageWaitingIndicator>true</UsePhoneMessageWaitingIndicator> <VoiceMessageCarbonCopyEmailAddress>sample string 11</VoiceMessageCarbonCopyEmailAddress> <VoiceMessageDeliveryEmailAddress>sample string 12</VoiceMessageDeliveryEmailAddress> <VoiceMessageNotifyEmailAddress>sample string 13</VoiceMessageNotifyEmailAddress> <VoicemailToEmail>sample string 16</VoicemailToEmail> <VoicemailToEmailNoProfile>true</VoicemailToEmailNoProfile> </VoiceManagementDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |