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

HTTP + JSV

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

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

{
	ICustomer: 0,
	IAccount: 0,
	isForDisasterRecovery: False,
	isForCustomer: False,
	searchTerm: String,
	productID: String,
	ExtendedInfo: False,
	i_customer_site: 0,
	accounts: String,
	License: String,
	ContentId: 0,
	FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	AccountCallForwarders: 
	{
		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
			}
		]
	},
	License: String,
	ContentId: 0,
	FeatureName: String
}