pem.getAccountInfo

This method is supported by Operations 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

Operations 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

note

string

A note that contains some additional information about the customer (or about the reseller). The note maximum length is 255 symbols.

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