Porta Plus 2 Web Services

<back to all web services

CreatePartnerAccount

The following routes are available for this service:
POST/CreatePartnerAccount

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

{
	PartnerAccountRequest: 
	{
		ICustomer: 0,
		AccountId: String,
		DefaultValues: 
		{
			BillingModel: ReChargeVoucher,
			ITariff: 0,
			BatchNamePrefix: String,
			LifeTime: 0,
			ProductId: 0,
			ITimeZone: 0,
			IVRLanguage: String,
			ServiceFlags: String,
			CreditLimit: 0,
			UmEnabled: False,
			FollowMeEnabled: False,
			EcommerceEnabled: False,
			OutDateTimeFormat: String,
			BCC: String,
			IRoutingPlan: 0,
			RTPProxy: Direct,
			ServiceFeatures: 
			[
				{
					Name: String,
					FlagValue: String,
					ServiceAttributes: 
					{
						String: 
						[
							String
						]
					}
				}
			],
			IParent: 0,
			DefaultAnsweringMode: Reject
		}
	},
	License: String,
	ContentId: 0,
	FeatureName: String
}