The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"PortaProducts":[{"IProduct":0,"Name":"String","MaintanenceFee":0,"IProductGroup":0,"Description":"String","EndUserProductName":"String","addon_priority":0}],"Accounts":[{"AccountId":"String","IAccount":0,"i_c_ext":0,"ICustomer":0,"redirect_number":"String","DestinationName":"String","BillingModel":"ReChargeVoucher","ISO4217":"String","Balance":0,"Blockedfield":"String","Blocked":false,"UMEnabled":"String","IMasterAccount":0,"UILogin":"String","UIPassword":"String","VoipPassword":"String","SIPPassword":"String","CreditLimit":0,"IProduct":0,"BatchNamePrefix":"String","IBatch":0,"IRoutingPlan":0,"IEnv":0,"Email":"String","customUrl":"String","currentProfileImage":"String","Phone1":"String","Address":"String","CompanyName":"String","BillStatus":"String","FollowMeEnabled":"String","ServiceFlags":"String","IVDPlan":0,"Note":"String","subscribername":"String","SubscriberFName":"String","SubscriberLName":"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","Country":"String","Phone2":"String","PhoneNo":"String","Salutation":"String","Fax":"String","availableBalance":0,"hideCLI":false,"DefaultValidIdentity":"String","ServiceFeatures":[{"ServiceFeatureName":"String","ServiceAttributeName":"String","ServiceAttributeId":0,"ServiceAttributeValue":"String"}],"ProductName":"String","i_ua":0,"i_ua_type":0,"Type":"String","ExtensionNumber":"String","fullname":"String","ActiveAddons":[{"IProduct":0,"Name":"String","MaintanenceFee":0,"IProductGroup":0,"Description":"String","i_subscription":0,"Subscription_Fees":0,"Currency":"String","IAccount":0,"effective_from":"\/Date(-62135596800000-0000)\/","effective_to":"\/Date(-62135596800000-0000)\/","IAccountProductAddOn":0,"Product_Group_Name":"String","IAddonProduct":0,"effective_from_ProductAddon":"\/Date(-62135596800000-0000)\/","effective_to_ProductAddon":"\/Date(-62135596800000-0000)\/","ProductAddon":"String"}],"ICustomerSite":0,"MainProductName":"String","custom":false,"templateID":0,"template":"String","GlobalTemplate":"String","isGlobalTemplate":false,"HGInfo":[{"i_c_group":0,"ActivationDate":"\/Date(-62135596800000-0000)\/","i_customer":0,"IAccount":0,"i_customerSpecified":false,"name":"String","fullname":"String","hunt_sequence":"String","hunt_keep_original_cli":"String","i_c_ext":0,"hunt_active":"String","id":"String","pickup_allowed":"String","assigned_extensions":[{"i_cg_ext":0,"i_cg_extSpecified":false,"i_c_ext":0,"i_c_extSpecified":false,"type":"String","id":"String","name":"String","hunt_order":0,"hunt_delay":0,"hunt_expire":0,"hunt_active":"String","huntstop":"String","primary_group":"String","IAccount":0}]}],"i_c_group":0,"VoiceDialing":false,"TranslateIncomingCLI":false,"activation_date":"\/Date(-62135596800000-0000)\/","last_usage":"\/Date(-62135596800000-0000)\/","first_usage_time":"\/Date(-62135596800000-0000)\/","issue_date":"\/Date(-62135596800000-0000)\/","inactivity_expire_time":0}],"AccountInfo":{"AccountId":"String","IAccount":0,"i_c_ext":0,"ICustomer":0,"redirect_number":"String","DestinationName":"String","BillingModel":"ReChargeVoucher","ISO4217":"String","Balance":0,"Blockedfield":"String","Blocked":false,"UMEnabled":"String","IMasterAccount":0,"UILogin":"String","UIPassword":"String","VoipPassword":"String","SIPPassword":"String","CreditLimit":0,"IProduct":0,"BatchNamePrefix":"String","IBatch":0,"IRoutingPlan":0,"IEnv":0,"Email":"String","customUrl":"String","currentProfileImage":"String","Phone1":"String","Address":"String","CompanyName":"String","BillStatus":"String","FollowMeEnabled":"String","ServiceFlags":"String","IVDPlan":0,"Note":"String","subscribername":"String","SubscriberFName":"String","SubscriberLName":"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","Country":"String","Phone2":"String","PhoneNo":"String","Salutation":"String","Fax":"String","availableBalance":0,"hideCLI":false,"DefaultValidIdentity":"String","ServiceFeatures":[{"ServiceFeatureName":"String","ServiceAttributeName":"String","ServiceAttributeId":0,"ServiceAttributeValue":"String"}],"ProductName":"String","i_ua":0,"i_ua_type":0,"Type":"String","ExtensionNumber":"String","fullname":"String","ActiveAddons":[{"IProduct":0,"Name":"String","MaintanenceFee":0,"IProductGroup":0,"Description":"String","i_subscription":0,"Subscription_Fees":0,"Currency":"String","IAccount":0,"effective_from":"\/Date(-62135596800000-0000)\/","effective_to":"\/Date(-62135596800000-0000)\/","IAccountProductAddOn":0,"Product_Group_Name":"String","IAddonProduct":0,"effective_from_ProductAddon":"\/Date(-62135596800000-0000)\/","effective_to_ProductAddon":"\/Date(-62135596800000-0000)\/","ProductAddon":"String"}],"ICustomerSite":0,"MainProductName":"String","custom":false,"templateID":0,"template":"String","GlobalTemplate":"String","isGlobalTemplate":false,"HGInfo":[{"i_c_group":0,"ActivationDate":"\/Date(-62135596800000-0000)\/","i_customer":0,"IAccount":0,"i_customerSpecified":false,"name":"String","fullname":"String","hunt_sequence":"String","hunt_keep_original_cli":"String","i_c_ext":0,"hunt_active":"String","id":"String","pickup_allowed":"String","assigned_extensions":[{"i_cg_ext":0,"i_cg_extSpecified":false,"i_c_ext":0,"i_c_extSpecified":false,"type":"String","id":"String","name":"String","hunt_order":0,"hunt_delay":0,"hunt_expire":0,"hunt_active":"String","huntstop":"String","primary_group":"String","IAccount":0}]}],"i_c_group":0,"VoiceDialing":false,"TranslateIncomingCLI":false,"activation_date":"\/Date(-62135596800000-0000)\/","last_usage":"\/Date(-62135596800000-0000)\/","first_usage_time":"\/Date(-62135596800000-0000)\/","issue_date":"\/Date(-62135596800000-0000)\/","inactivity_expire_time":0},"PortaProductInfo":[{"reseller_ID":0,"reseller":"String","subreseller_ID":0,"subreseller":"String","customer_ID":0,"customer":"String","activation_date":"\/Date(-62135596800000-0000)\/","product_ID":0,"product":"String","id":"String","IService":0,"Account_Subscription":0,"i_subscription":0,"Product_GroupName":"String","Subscription_name":"String","effective_from":"\/Date(-62135596800000-0000)\/","effective_to":"\/Date(-62135596800000-0000)\/","Subscription_Fees":0,"Currency":"String","IAccount":0,"Price":0,"TerminationDate":"\/Date(-62135596800000-0000)\/","Fee":0,"Charge_type":"String","LineIdentity":"String","BillStart":"\/Date(-62135596800000-0000)\/","BillEnd":"\/Date(-62135596800000-0000)\/","Licence_Name":"String","SubscriberName":"String"}],"ProductAddonsInfo":[{"IProduct":0,"Name":"String","MaintanenceFee":0,"IProductGroup":0,"Description":"String","i_subscription":0,"Subscription_Fees":0,"Currency":"String","IAccount":0,"effective_from":"\/Date(-62135596800000-0000)\/","effective_to":"\/Date(-62135596800000-0000)\/","IAccountProductAddOn":0,"Product_Group_Name":"String","IAddonProduct":0,"effective_from_ProductAddon":"\/Date(-62135596800000-0000)\/","effective_to_ProductAddon":"\/Date(-62135596800000-0000)\/","ProductAddon":"String"}],"NumberOfAccounts":0,"License":"String","ContentId":0,"FeatureName":"String"}