POST api/admin/UpdateEnterpriseTrunkGroupInstance
Request Information
URI Parameters
None.
Body Parameters
TrunkGroupModifyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupId | string |
None. |
|
| TrunkGroupName | string |
None. |
|
| NewTrunkGroupName | string |
None. |
|
| NewSipAuthenticationPassword | string |
None. |
|
| Department | GroupDepartmentOption |
None. |
|
| MaximumActiveCallsAllowed | integer |
None. |
|
| MaximumActiveIncomingCallsAllowed | integer |
None. |
|
| MaximumActiveOutgoingCallsAllowed | integer |
None. |
|
| EnableAuthentication | boolean |
None. |
|
| AuthenticationUserName | string |
None. |
|
| NewAuthenticationPassword | string |
None. |
|
| TrunkGroupIdentity | string |
None. |
|
| OTGDTGIdentity | string |
None. |
|
| EnableTrunkGroupPrefix | boolean |
None. |
|
| TrunkGroupPrefix | string |
None. |
|
| AllowCallsDirectlyToTrunkGroupWithTrunkIdentity | boolean |
None. |
|
| AllowCallsDirectlyToTrunkGroupWithDTGIdentity | boolean |
None. |
|
| IncludeTrunkIdentityForCallsToTrunkGroup | boolean |
None. |
|
| IncludeDTGIdentityForCallsToTrunkGroup | boolean |
None. |
|
| IncludeTrunkIdentityForCallsFromTrunkGroup | boolean |
None. |
|
| IncludeOTGIdentityForCallsFromTrunkGroup | boolean |
None. |
|
| EnableNetworkAddressIdentity | boolean |
None. |
|
| AllowUnscreenedCalls | boolean |
None. |
|
| AllowUnscreenedEmergencyCalls | boolean |
None. |
|
| RouteToPeeringDomain | boolean |
None. |
|
| PeeringDomain | string |
None. |
|
| PilotUserCallOptimizationPolicy | integer |
None. |
|
| UseSystemUserLookupPolicy | boolean |
None. |
|
| TrunkGroupUserLookupPolicy | integer |
None. |
|
| UseSystemCLIDSourceForScreenedCallsPolicy | boolean |
None. |
|
| CallingLineIdentitySourceForScreenedTrunkGroupCallsPolicy | integer |
None. |
|
| UseSystemSupportConnectedIdentityPolicy | boolean |
None. |
|
| SupportConnectedIdentityPolicy | integer |
None. |
|
| PilotUserCallingLineIdentityForExternalCallsUsagePolicy | integer |
None. |
|
| PilotUserCallingLineIdentityUsageForEmergencyCallsPolicy | integer |
None. |
|
| PilotUserChargeNumberUsagePolicy | integer |
None. |
|
| AccessDevice | AccessDeviceDto |
None. |
|
| PilotUserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"GroupId": "sample string 1",
"TrunkGroupName": "sample string 2",
"NewTrunkGroupName": "sample string 3",
"NewSipAuthenticationPassword": "sample string 4",
"Department": {
"ServiceProviderId": "sample string 1",
"GroupId": "sample string 2",
"Name": "sample string 3"
},
"MaximumActiveCallsAllowed": 5,
"MaximumActiveIncomingCallsAllowed": 6,
"MaximumActiveOutgoingCallsAllowed": 7,
"EnableAuthentication": true,
"AuthenticationUserName": "sample string 9",
"NewAuthenticationPassword": "sample string 10",
"TrunkGroupIdentity": "sample string 11",
"OTGDTGIdentity": "sample string 12",
"EnableTrunkGroupPrefix": true,
"TrunkGroupPrefix": "sample string 14",
"AllowCallsDirectlyToTrunkGroupWithTrunkIdentity": true,
"AllowCallsDirectlyToTrunkGroupWithDTGIdentity": true,
"IncludeTrunkIdentityForCallsToTrunkGroup": true,
"IncludeDTGIdentityForCallsToTrunkGroup": true,
"IncludeTrunkIdentityForCallsFromTrunkGroup": true,
"IncludeOTGIdentityForCallsFromTrunkGroup": true,
"EnableNetworkAddressIdentity": true,
"AllowUnscreenedCalls": true,
"AllowUnscreenedEmergencyCalls": true,
"RouteToPeeringDomain": true,
"PeeringDomain": "sample string 25",
"PilotUserCallOptimizationPolicy": 26,
"UseSystemUserLookupPolicy": true,
"TrunkGroupUserLookupPolicy": 28,
"UseSystemCLIDSourceForScreenedCallsPolicy": true,
"CallingLineIdentitySourceForScreenedTrunkGroupCallsPolicy": 30,
"UseSystemSupportConnectedIdentityPolicy": true,
"SupportConnectedIdentityPolicy": 32,
"PilotUserCallingLineIdentityForExternalCallsUsagePolicy": 33,
"PilotUserCallingLineIdentityUsageForEmergencyCallsPolicy": 34,
"PilotUserChargeNumberUsagePolicy": 35,
"AccessDevice": {
"DeviceName": "sample string 1",
"DeviceLevel": 2
},
"PilotUserId": "sample string 36"
}
application/xml, text/xml
Sample:
<TrunkGroupModifyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.EnterpriseTrunk">
<AccessDevice>
<DeviceLevel>2</DeviceLevel>
<DeviceName>sample string 1</DeviceName>
</AccessDevice>
<AllowCallsDirectlyToTrunkGroupWithDTGIdentity>true</AllowCallsDirectlyToTrunkGroupWithDTGIdentity>
<AllowCallsDirectlyToTrunkGroupWithTrunkIdentity>true</AllowCallsDirectlyToTrunkGroupWithTrunkIdentity>
<AllowUnscreenedCalls>true</AllowUnscreenedCalls>
<AllowUnscreenedEmergencyCalls>true</AllowUnscreenedEmergencyCalls>
<AuthenticationUserName>sample string 9</AuthenticationUserName>
<CallingLineIdentitySourceForScreenedTrunkGroupCallsPolicy>30</CallingLineIdentitySourceForScreenedTrunkGroupCallsPolicy>
<Department xmlns:d2p1="http://schemas.datacontract.org/2004/07/MSPApi.DTO">
<d2p1:GroupId>sample string 2</d2p1:GroupId>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:ServiceProviderId>sample string 1</d2p1:ServiceProviderId>
</Department>
<EnableAuthentication>true</EnableAuthentication>
<EnableNetworkAddressIdentity>true</EnableNetworkAddressIdentity>
<EnableTrunkGroupPrefix>true</EnableTrunkGroupPrefix>
<GroupId>sample string 1</GroupId>
<IncludeDTGIdentityForCallsToTrunkGroup>true</IncludeDTGIdentityForCallsToTrunkGroup>
<IncludeOTGIdentityForCallsFromTrunkGroup>true</IncludeOTGIdentityForCallsFromTrunkGroup>
<IncludeTrunkIdentityForCallsFromTrunkGroup>true</IncludeTrunkIdentityForCallsFromTrunkGroup>
<IncludeTrunkIdentityForCallsToTrunkGroup>true</IncludeTrunkIdentityForCallsToTrunkGroup>
<MaximumActiveCallsAllowed>5</MaximumActiveCallsAllowed>
<MaximumActiveIncomingCallsAllowed>6</MaximumActiveIncomingCallsAllowed>
<MaximumActiveOutgoingCallsAllowed>7</MaximumActiveOutgoingCallsAllowed>
<NewAuthenticationPassword>sample string 10</NewAuthenticationPassword>
<NewSipAuthenticationPassword>sample string 4</NewSipAuthenticationPassword>
<NewTrunkGroupName>sample string 3</NewTrunkGroupName>
<OTGDTGIdentity>sample string 12</OTGDTGIdentity>
<PeeringDomain>sample string 25</PeeringDomain>
<PilotUserCallOptimizationPolicy>26</PilotUserCallOptimizationPolicy>
<PilotUserCallingLineIdentityForExternalCallsUsagePolicy>33</PilotUserCallingLineIdentityForExternalCallsUsagePolicy>
<PilotUserCallingLineIdentityUsageForEmergencyCallsPolicy>34</PilotUserCallingLineIdentityUsageForEmergencyCallsPolicy>
<PilotUserChargeNumberUsagePolicy>35</PilotUserChargeNumberUsagePolicy>
<PilotUserId>sample string 36</PilotUserId>
<RouteToPeeringDomain>true</RouteToPeeringDomain>
<SupportConnectedIdentityPolicy>32</SupportConnectedIdentityPolicy>
<TrunkGroupIdentity>sample string 11</TrunkGroupIdentity>
<TrunkGroupName>sample string 2</TrunkGroupName>
<TrunkGroupPrefix>sample string 14</TrunkGroupPrefix>
<TrunkGroupUserLookupPolicy>28</TrunkGroupUserLookupPolicy>
<UseSystemCLIDSourceForScreenedCallsPolicy>true</UseSystemCLIDSourceForScreenedCallsPolicy>
<UseSystemSupportConnectedIdentityPolicy>true</UseSystemSupportConnectedIdentityPolicy>
<UseSystemUserLookupPolicy>true</UseSystemUserLookupPolicy>
</TrunkGroupModifyDTO>
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. |