Porta Plus 2 Web Services

<back to all web services

PortaFollowMe

The following routes are available for this service:
GET/addfollowme/{License}/{IAccount}/{TimeOut}/{Domain}/{Name}/{FollowMeOrder}/{RedirectNumber}/{Active}/{KeepOriginalCld}
GET/addfollowme/{License}/{IAccount}/{TimeOut}/{Name}/{FollowMeOrder}/{RedirectNumber}/{Active}/{KeepupdateAccountsOriginalCld}
GET/addfollowme/{License}/{IAccount}/{TimeOut}/{Name}/{FollowMeOrder}/{RedirectNumber}/{Active}
GET/updatefollowme/{License}/{IAccount}/{IFollowMeNumber}/{TimeOut}/{Domain}/{Name}/{FollowMeOrder}/{RedirectNumber}/{Active}
GET/updatefollowme/{License}/{IAccount}/{IFollowMeNumber}/{TimeOut}/{Name}/{FollowMeOrder}/{RedirectNumber}/{Active}
POST/UpdateFollowmeAll
GET/deletefollowme/{License}/{IFollowMeNumber}
GET/deletefollowme/{License}/{IFollowMeNumber}/{IAccount}/{isDeleteForward}
GET/getafollowme/{License}/{IAccount}/{IFollowMeNumber}
GET/getfollowmes/{License}/{IAccount}

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/PortaFollowMe HTTP/1.1 
Host: 7el.co 
Content-Type: application/xml
Content-Length: length

<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>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<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>