PATCH api/admin/UpdateIPTrunk

Request Information

URI Parameters

None.

Body Parameters

IpTrunkDTO
NameDescriptionTypeAdditional information
CustomerLocationId

string

None.

CustomerProductId

integer

None.

ProvInfo

ProvisioningInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerLocationId": "sample string 1",
  "CustomerProductId": 2,
  "ProvInfo": {
    "SIPS": {
      "PromotionOfferPackageID": "sample string 1",
      "TrunkId": 2,
      "GroupPolicy": "sample string 3",
      "ServiceState": "sample string 4",
      "Direction": "sample string 5",
      "TechPrefix": "sample string 6",
      "IncomingCNAM": true,
      "International": true,
      "LineDescription": "sample string 9",
      "TerminationCode": "sample string 10",
      "TerminationNotes": "sample string 11",
      "TNActivation": "sample string 12",
      "VoipSwitch": "sample string 13",
      "UserEmail": "sample string 14"
    },
    "Sansay": {
      "Block": "sample string 1",
      "PseudoCarrier": "sample string 2",
      "E911Carrier": "sample string 3",
      "Status": "sample string 4",
      "SentDate": "sample string 5",
      "LastUpdatedDate": "sample string 6"
    },
    "IPAddress": {
      "Node1": "sample string 1",
      "Node2": "sample string 2",
      "Node3": "sample string 3",
      "Node4": "sample string 4",
      "Node5": "sample string 5",
      "Node6": "sample string 6",
      "Node7": "sample string 7",
      "Node8": "sample string 8",
      "Node9": "sample string 9",
      "Node10": "sample string 10",
      "Node11": "sample string 11",
      "Node12": "sample string 12"
    }
  }
}

application/xml, text/xml

Sample:
<IpTrunkDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.IpTrunk">
  <CustomerLocationId>sample string 1</CustomerLocationId>
  <CustomerProductId>2</CustomerProductId>
  <ProvInfo>
    <IPAddress>
      <Node1>sample string 1</Node1>
      <Node10>sample string 10</Node10>
      <Node11>sample string 11</Node11>
      <Node12>sample string 12</Node12>
      <Node2>sample string 2</Node2>
      <Node3>sample string 3</Node3>
      <Node4>sample string 4</Node4>
      <Node5>sample string 5</Node5>
      <Node6>sample string 6</Node6>
      <Node7>sample string 7</Node7>
      <Node8>sample string 8</Node8>
      <Node9>sample string 9</Node9>
    </IPAddress>
    <SIPS>
      <Direction>sample string 5</Direction>
      <GroupPolicy>sample string 3</GroupPolicy>
      <IncomingCNAM>true</IncomingCNAM>
      <International>true</International>
      <LineDescription>sample string 9</LineDescription>
      <PromotionOfferPackageID>sample string 1</PromotionOfferPackageID>
      <ServiceState>sample string 4</ServiceState>
      <TNActivation>sample string 12</TNActivation>
      <TechPrefix>sample string 6</TechPrefix>
      <TerminationCode>sample string 10</TerminationCode>
      <TerminationNotes>sample string 11</TerminationNotes>
      <TrunkId>2</TrunkId>
      <UserEmail>sample string 14</UserEmail>
      <VoipSwitch>sample string 13</VoipSwitch>
    </SIPS>
    <Sansay>
      <Block>sample string 1</Block>
      <E911Carrier>sample string 3</E911Carrier>
      <LastUpdatedDate>sample string 6</LastUpdatedDate>
      <PseudoCarrier>sample string 2</PseudoCarrier>
      <SentDate>sample string 5</SentDate>
      <Status>sample string 4</Status>
    </Sansay>
  </ProvInfo>
</IpTrunkDTO>

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.