Porta Plus 2 Web Services

<back to all web services

PortaFollowMe

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: api-uk.activesoftswitch.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<PortaFollowMe 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>
  <Active>String</Active>
  <Domain>String</Domain>
  <FollowMeOrder>0</FollowMeOrder>
  <IAccount>0</IAccount>
  <IFollowMeNumber>0</IFollowMeNumber>
  <KeepOriginalCLI>String</KeepOriginalCLI>
  <KeepOriginalCld>String</KeepOriginalCld>
  <Name>String</Name>
  <Period>String</Period>
  <Period_desc>String</Period_desc>
  <RedirectNumber>String</RedirectNumber>
  <Status>false</Status>
  <TimeOut>0</TimeOut>
  <isDeleteForward>false</isDeleteForward>
</PortaFollowMe>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<PortaFollowMeResponse 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>
  <FollowMeNumbers xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Common.Models">
    <d2p1:CustomAccountFollowMeNumberInfo>
      <d2p1:active>String</d2p1:active>
      <d2p1:domain>String</d2p1:domain>
      <d2p1:i_account>0</d2p1:i_account>
      <d2p1:i_follow_me>0</d2p1:i_follow_me>
      <d2p1:i_follow_meSpecified>false</d2p1:i_follow_meSpecified>
      <d2p1:i_follow_me_number>0</d2p1:i_follow_me_number>
      <d2p1:i_follow_order>0</d2p1:i_follow_order>
      <d2p1:i_follow_orderSpecified>false</d2p1:i_follow_orderSpecified>
      <d2p1:keep_original_cld>String</d2p1:keep_original_cld>
      <d2p1:keep_original_cli>String</d2p1:keep_original_cli>
      <d2p1:name>String</d2p1:name>
      <d2p1:period>String</d2p1:period>
      <d2p1:period_description>String</d2p1:period_description>
      <d2p1:redirect_number>String</d2p1:redirect_number>
      <d2p1:status>false</d2p1:status>
      <d2p1:timeout>0</d2p1:timeout>
      <d2p1:timeoutSpecified>false</d2p1:timeoutSpecified>
    </d2p1:CustomAccountFollowMeNumberInfo>
  </FollowMeNumbers>
  <FollowMeinfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:SipStatus>false</d2p1:SipStatus>
    <d2p1:i_follow_me>0</d2p1:i_follow_me>
    <d2p1:sequence>String</d2p1:sequence>
    <d2p1:timeout>0</d2p1:timeout>
  </FollowMeinfo>
  <success>false</success>
</PortaFollowMeResponse>

    </soap12:Body>
</soap12:Envelope>