Porta Plus 2 Web Services

<back to all web services

CustomerAbbreviatedDialing

The following routes are available for this service:
GET/GetAbbreviatedDialingNumbers/{License}/{ICustomer}
GET/DeleteAbbreviatedDialingNumber/{License}/{ICustomer}/{AbbreviatedNumberRecordId}
GET/AddAbbreviatedDialingNumber/{License}/{ICustomer}/{Description}/{AbbreviatedNumber}/{NumberToDial}
GET/UpdateAbbreviatedDialingNumber/{License}/{ICustomer}/{Description}/{AbbreviatedNumber}/{NumberToDial}/{AbbreviatedNumberRecordId}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/CustomerAbbreviatedDialing HTTP/1.1 
Host: 7el.co 
Content-Type: application/xml
Content-Length: length

<CustomerAbbreviatedDialing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <AbbreviatedNumber>String</AbbreviatedNumber>
  <AbbreviatedNumberRecordId>0</AbbreviatedNumberRecordId>
  <Description>String</Description>
  <ICustomer>0</ICustomer>
  <NumberToDial>String</NumberToDial>
  <PhoneType>String</PhoneType>
  <customerId>0</customerId>
</CustomerAbbreviatedDialing>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CustomerAbbreviatedDialingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <AbbreviatedDialingNumber xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Common.Models">
    <d2p1:abbreviated_number>String</d2p1:abbreviated_number>
    <d2p1:description>String</d2p1:description>
    <d2p1:i_ab_dialing>0</d2p1:i_ab_dialing>
    <d2p1:number_to_dial>String</d2p1:number_to_dial>
  </AbbreviatedDialingNumber>
  <AbbreviatedDialingNumberAdded>false</AbbreviatedDialingNumberAdded>
  <AbbreviatedDialingNumberDeleted>false</AbbreviatedDialingNumberDeleted>
  <AbbreviatedDialingNumberLst xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Common.Models">
    <d2p1:CustomAbbreviatedDialingNumberInfo>
      <d2p1:abbreviated_number>String</d2p1:abbreviated_number>
      <d2p1:description>String</d2p1:description>
      <d2p1:i_ab_dialing>0</d2p1:i_ab_dialing>
      <d2p1:number_to_dial>String</d2p1:number_to_dial>
    </d2p1:CustomAbbreviatedDialingNumberInfo>
  </AbbreviatedDialingNumberLst>
  <AbbreviatedDialingNumberUpdated>false</AbbreviatedDialingNumberUpdated>
</CustomerAbbreviatedDialingResponse>