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

Accounts,updateServiceFeature,isPortingAccount,isDistinctiveRing,updateSFfromv2,Identity,AccountInfo,updateAccountActivation,updateVoiceDialing,translateIncomingCLI,License,ContentId,FeatureName
"[{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}]",False,False,False,False,String,"{DisplayName:String,i_account:0}",False,False,False,String,0,String

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

Success,License,ContentId,FeatureName
False,String,0,String