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: text/jsv
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: 0001-01-01,
effective_to: 0001-01-01,
IAccountProductAddOn: 0,
Product_Group_Name: String,
IAddonProduct: 0,
effective_from_ProductAddon: 0001-01-01,
effective_to_ProductAddon: 0001-01-01,
ProductAddon: String
}
],
ICustomerSite: 0,
MainProductName: String,
custom: False,
templateID: 0,
template: String,
GlobalTemplate: String,
isGlobalTemplate: False,
HGInfo:
[
{
i_c_group: 0,
ActivationDate: 0001-01-01,
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: 0001-01-01,
last_usage: 0001-01-01,
first_usage_time: 0001-01-01,
issue_date: 0001-01-01,
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: 0001-01-01,
effective_to: 0001-01-01,
IAccountProductAddOn: 0,
Product_Group_Name: String,
IAddonProduct: 0,
effective_from_ProductAddon: 0001-01-01,
effective_to_ProductAddon: 0001-01-01,
ProductAddon: String
}
],
ICustomerSite: 0,
MainProductName: String,
custom: False,
templateID: 0,
template: String,
GlobalTemplate: String,
isGlobalTemplate: False,
HGInfo:
[
{
i_c_group: 0,
ActivationDate: 0001-01-01,
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: 0001-01-01,
last_usage: 0001-01-01,
first_usage_time: 0001-01-01,
issue_date: 0001-01-01,
inactivity_expire_time: 0
},
PortaProductInfo:
[
{
reseller_ID: 0,
reseller: String,
subreseller_ID: 0,
subreseller: String,
customer_ID: 0,
customer: String,
activation_date: 0001-01-01,
product_ID: 0,
product: String,
id: String,
IService: 0,
Account_Subscription: 0,
i_subscription: 0,
Product_GroupName: String,
Subscription_name: String,
effective_from: 0001-01-01,
effective_to: 0001-01-01,
Subscription_Fees: 0,
Currency: String,
IAccount: 0,
Price: 0,
TerminationDate: 0001-01-01,
Fee: 0,
Charge_type: String,
LineIdentity: String,
BillStart: 0001-01-01,
BillEnd: 0001-01-01,
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: 0001-01-01,
effective_to: 0001-01-01,
IAccountProductAddOn: 0,
Product_Group_Name: String,
IAddonProduct: 0,
effective_from_ProductAddon: 0001-01-01,
effective_to_ProductAddon: 0001-01-01,
ProductAddon: String
}
],
NumberOfAccounts: 0,
License: String,
ContentId: 0,
FeatureName: String
}