POST api/usr/BroadWorksAnywhere?serviceNumber={serviceNumber}&pbxUserId={pbxUserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceNumber | string |
None. |
|
| pbxUserId | string |
None. |
Body Parameters
BroadWorksAnywhereDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AlertAllLocationsForClickToDialCalls | boolean |
None. |
|
| AlertAllLocationsForGroupPagingCalls | boolean |
None. |
|
| PhoneNumberList | Collection of BroadWorksAnywherePhoneEntryDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"AlertAllLocationsForClickToDialCalls": true,
"AlertAllLocationsForGroupPagingCalls": true,
"PhoneNumberList": [
{
"PhoneNumber": "sample string 1",
"Description": "sample string 2"
},
{
"PhoneNumber": "sample string 1",
"Description": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<BroadWorksAnywhereDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.User">
<AlertAllLocationsForClickToDialCalls>true</AlertAllLocationsForClickToDialCalls>
<AlertAllLocationsForGroupPagingCalls>true</AlertAllLocationsForGroupPagingCalls>
<PhoneNumberList>
<BroadWorksAnywherePhoneEntryDTO>
<Description>sample string 2</Description>
<PhoneNumber>sample string 1</PhoneNumber>
</BroadWorksAnywherePhoneEntryDTO>
<BroadWorksAnywherePhoneEntryDTO>
<Description>sample string 2</Description>
<PhoneNumber>sample string 1</PhoneNumber>
</BroadWorksAnywherePhoneEntryDTO>
</PhoneNumberList>
</BroadWorksAnywhereDTO>
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. |