Porta Plus 2 Web Services

<back to all web services

UpdateAccount

The following routes are available for this service:
POST/UpdateAccount
POST/UpdateAccountByProductAddons/{License}
POST/UpdateDisplayName

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

{
	Accounts: 
	[
		{
			Id: String,
			IAccount: 0,
			ICustomer: 0,
			BillingModel: ReChargeVoucher,
			ISO4217: String,
			Balance: 0,
			UILogin: String,
			UIPassword: String,
			VoipPassword: String,
			Blocked: False,
			MapBlocked: String,
			CreditLimit: 0,
			UMEnabled: False,
			Email: String,
			BCC: String,
			Phone1: String,
			Phone2: String,
			Contact1: String,
			Contact2: String,
			Address: String,
			CompanyName: String,
			BillStatus: String,
			IParent: 0,
			Servicefeatures: 
			[
				{
					Name: String,
					FlagValue: String,
					ServiceAttributes: 
					{
						String: 
						[
							String
						]
					}
				}
			],
			FollowMeEnabled: F,
			IRoutingPlan: 0,
			IVDPlan: 0,
			IProduct: 0,
			BatchNamePrefix: String,
			IBatch: 0,
			Note: String,
			Company: String,
			Name: String,
			FirstName: String,
			MiddleInitials: String,
			LastName: String,
			Address1: String,
			Address2: String,
			Address3: String,
			Address4: String,
			Town: String,
			Region: String,
			City: String,
			Postcode: String,
			Login: String,
			Password: String,
			Country: String,
			PhoneNo: String,
			IEnv: 0,
			Salutation: String,
			Fax: String,
			ISubscriber: 0,
			State: String,
			i_product: 0,
			assigned_addons: 
			[
				{
					IProduct: 0,
					Name: String
				}
			],
			i_moh: 0,
			UpdateAnsweringMode: False,
			AnsweringMode: 
			{
				AnswerMode: String,
				timeout: String
			},
			EnpointRedirection: String,
			SipContact: String,
			TeamsDomain: String,
			ICustomerSite: 0,
			activationDate: String
		}
	],
	updateServiceFeature: False,
	isPortingAccount: False,
	isDistinctiveRing: False,
	updateSFfromv2: False,
	Identity: String,
	AccountInfo: 
	{
		DisplayName: String,
		i_account: 0
	},
	updateAccountActivation: False,
	updateVoiceDialing: False,
	translateIncomingCLI: False,
	License: String,
	ContentId: 0,
	FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Success: False,
	License: String,
	ContentId: 0,
	FeatureName: String
}