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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /csv/reply/PortaFollowMe HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

IAccount,IFollowMeNumber,TimeOut,Domain,Name,FollowMeOrder,RedirectNumber,KeepOriginalCld,KeepOriginalCLI,Active,Period,Period_desc,Status,isDeleteForward,License,ContentId,FeatureName
0,0,0,String,String,0,String,String,String,String,String,String,False,False,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

FollowMeNumbers,FollowMeinfo,success,License,ContentId,FeatureName
"[{i_account:0,redirect_number:String,i_follow_me:0,i_follow_meSpecified:False,i_follow_me_number:0,name:String,i_follow_orderSpecified:False,i_follow_order:0,domain:String,timeout:0,timeoutSpecified:False,keep_original_cld:String,keep_original_cli:String,period:String,period_description:String,active:String,status:False}]","{i_follow_me:0,sequence:String,timeout:0,SipStatus:False}",False,String,0,String