pem.getAccountInfo

This method is supported by POA starting from version 2.4.

This method returns information about account: contacts, parent accounts, etc.

The method has the following input parameters:

Name

Type

Short Description

account_id

int

POA Account ID

The output parameters are the following:

Name

Type

Short Description

account_type

string

Account type. The possible values are the following:

  • A - Provider's Account
  • C - Customer's Account
  • R - Reseller's Account

parent_account_id

int

Parent account ID

person

struct

General information about person/company

address

struct

Customer/reseller address

phone

struct

Customer/reseller phone number

fax

struct

Customer/reseller fax number

email

string

Customer/reseller E-mail address

Look into pem.addAccount method description for complete specification of these structures.