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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"IAccount":0,"IFollowMeNumber":0,"TimeOut":0,"Domain":"String","Name":"String","FollowMeOrder":0,"RedirectNumber":"String","KeepOriginalCld":"String","KeepOriginalCLI":"String","Active":"String","Period":"String","Period_desc":"String","Status":false,"isDeleteForward":false,"License":"String","ContentId":0,"FeatureName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"FollowMeNumbers":[{"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}],"FollowMeinfo":{"i_follow_me":0,"sequence":"String","timeout":0,"SipStatus":false},"success":false,"License":"String","ContentId":0,"FeatureName":"String"}