Porta Plus 2 Web Services

<back to all web services

CallForwarder

The following routes are available for this service:
GET/GetAccountFollowmeNos/{License}/{ICustomer}/{IAccount}
POST/GetAccountFollowmeNosByMultiAccounts
GET/GetAccountFollowmeNos/{License}/{ICustomer}/{IAccount}/{ExtendedInfo}
GET/GetAccountDRFollowmeNos/{License}/{ICustomer}/{IAccount}/{isForDisasterRecovery}
GET/GetDRFollowMeNumbersForCustBySearchTerm/{License}/{ICustomer}/{searchTerm}/{i_customer_site}/{isForDisasterRecovery}/{isForCustomer}
GET/GetDRFollowMeNumbersForCustByIProduct/{License}/{ICustomer}/{productID}/{i_customer_site}/{isForDisasterRecovery}/{isForCustomer}

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/CallForwarder HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

ICustomer,IAccount,isForDisasterRecovery,isForCustomer,searchTerm,productID,ExtendedInfo,i_customer_site,accounts,License,ContentId,FeatureName
0,0,False,False,String,String,False,0,String,String,0,String

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

AccountCallForwarders,License,ContentId,FeatureName
"{String:[{AccountID:String,Name:String,RedirectNumber:String,Sequence:String,Timeout:0,Domain:String,IFollowMeNumber:0,IAccount:0,Active:String,DefaultTimeout:0,IFollowMe:0,HasFollowMenumbers:False,period:String,period_description:String,KeepOriginalCLI:String,KeepOriginalCLD:String,FollowMeOrder:0,ExtensionNumber:0,Note:String,fnLabel:String}]}",String,0,String