POST api/usr/DirectedCallPickupWithBargeIn?serviceNumber={serviceNumber}&pbxUserId={pbxUserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceNumber | string |
None. |
|
| pbxUserId | string |
None. |
Body Parameters
DirectedCallPickupWithBargeInDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| EnableAutomaticTargetSelection | boolean |
None. |
|
| EnableBargeInWarningTone | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"EnableAutomaticTargetSelection": true,
"EnableBargeInWarningTone": true
}
application/xml, text/xml
Sample:
<DirectedCallPickupWithBargeInDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.User"> <EnableAutomaticTargetSelection>true</EnableAutomaticTargetSelection> <EnableBargeInWarningTone>true</EnableBargeInWarningTone> </DirectedCallPickupWithBargeInDTO>
application/x-www-form-urlencoded
Sample:
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. |