POST api/admin/UpdateEnterpriseTrunkDetails

Request Information

URI Parameters

None.

Body Parameters

EnterpriseTrunkModifyDTO
NameDescriptionTypeAdditional information
OldEnterpriseTrunkName

string

None.

EnterpriseTrunkName

string

None.

MaxNumRerouteAttempts

integer

None.

MaxNumRerouteWithPriority

integer

None.

RerouteExhaustAction

integer

None.

RouteExhaustionForwardAddress

string

None.

EnableCapacityManagement

boolean

None.

MaxActiveCalls

integer

None.

CapacityExceededInitialAlarm

integer

None.

CapacityExceededOffsetValue

integer

None.

OrderingAlgorithm

integer

None.

TrunkGroupAssignments

Collection of TrunkGroupAssignmentsDTO

None.

AllowTrunkNameChange

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OldEnterpriseTrunkName": "sample string 1",
  "EnterpriseTrunkName": "sample string 2",
  "MaxNumRerouteAttempts": 3,
  "MaxNumRerouteWithPriority": 4,
  "RerouteExhaustAction": 5,
  "RouteExhaustionForwardAddress": "sample string 6",
  "EnableCapacityManagement": true,
  "MaxActiveCalls": 8,
  "CapacityExceededInitialAlarm": 9,
  "CapacityExceededOffsetValue": 10,
  "OrderingAlgorithm": 11,
  "TrunkGroupAssignments": [
    {
      "GroupId": "sample string 1",
      "TrunkGroupName": "sample string 2",
      "Priority": 3,
      "Weight": 4,
      "IsAssigned": true
    },
    {
      "GroupId": "sample string 1",
      "TrunkGroupName": "sample string 2",
      "Priority": 3,
      "Weight": 4,
      "IsAssigned": true
    }
  ],
  "AllowTrunkNameChange": true
}

application/xml, text/xml

Sample:
<EnterpriseTrunkModifyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.EnterpriseTrunk">
  <AllowTrunkNameChange>true</AllowTrunkNameChange>
  <CapacityExceededInitialAlarm>9</CapacityExceededInitialAlarm>
  <CapacityExceededOffsetValue>10</CapacityExceededOffsetValue>
  <EnableCapacityManagement>true</EnableCapacityManagement>
  <EnterpriseTrunkName>sample string 2</EnterpriseTrunkName>
  <MaxActiveCalls>8</MaxActiveCalls>
  <MaxNumRerouteAttempts>3</MaxNumRerouteAttempts>
  <MaxNumRerouteWithPriority>4</MaxNumRerouteWithPriority>
  <OldEnterpriseTrunkName>sample string 1</OldEnterpriseTrunkName>
  <OrderingAlgorithm>11</OrderingAlgorithm>
  <RerouteExhaustAction>5</RerouteExhaustAction>
  <RouteExhaustionForwardAddress>sample string 6</RouteExhaustionForwardAddress>
  <TrunkGroupAssignments>
    <TrunkGroupAssignmentsDTO>
      <GroupId>sample string 1</GroupId>
      <IsAssigned>true</IsAssigned>
      <Priority>3</Priority>
      <TrunkGroupName>sample string 2</TrunkGroupName>
      <Weight>4</Weight>
    </TrunkGroupAssignmentsDTO>
    <TrunkGroupAssignmentsDTO>
      <GroupId>sample string 1</GroupId>
      <IsAssigned>true</IsAssigned>
      <Priority>3</Priority>
      <TrunkGroupName>sample string 2</TrunkGroupName>
      <Weight>4</Weight>
    </TrunkGroupAssignmentsDTO>
  </TrunkGroupAssignments>
</EnterpriseTrunkModifyDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.