POST api/grp/GroupCallingLineId?locationAccountNumber={locationAccountNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationAccountNumber | string |
Required |
Body Parameters
GroupCallingLineIdDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Phones | Collection of string |
None. |
|
| UseGroupName | boolean |
None. |
|
| AllowDepartmentCLIDNameOverride | boolean |
None. |
|
| CallingLineIdName | string |
None. |
|
| CallingLineIdPhoneNumber | string |
None. |
|
| ClidPolicy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Phones": [
"sample string 1",
"sample string 2"
],
"UseGroupName": true,
"AllowDepartmentCLIDNameOverride": true,
"CallingLineIdName": "sample string 3",
"CallingLineIdPhoneNumber": "sample string 4",
"ClidPolicy": 5
}
application/xml, text/xml
Sample:
<GroupCallingLineIdDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Group">
<AllowDepartmentCLIDNameOverride>true</AllowDepartmentCLIDNameOverride>
<CallingLineIdName>sample string 3</CallingLineIdName>
<CallingLineIdPhoneNumber>sample string 4</CallingLineIdPhoneNumber>
<ClidPolicy>5</ClidPolicy>
<Phones xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Phones>
<UseGroupName>true</UseGroupName>
</GroupCallingLineIdDTO>
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. |