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

{"Success":false,"License":"String","ContentId":0,"FeatureName":"String"}