pem.exchange.getPublicFolders

This method is supported by Operations starting from version 2.9 hotfix03

This method returns all Public Folders for the specified Subscription.

The method has the following input parameters:

Name

Type

Short Description

subscription_id

int

Subscription ID

The method returns the array of structures:

Name

Type

Short Description

public_folder_id

int

Public Folder ID

public_folder_name

string

Name of Public Folder

items_type

int

This parameter defines the type of items, which are stored in the Public Folder. There are the following options:

  • 0 – Mail Items
  • 1 – Contacts Items
  • 2 – Appointment Items
  • 3 – Note Items
  • 4 – Task Items
  • 5 – Journal Items
  • 255 – Unknown (internal type for imported and migrated Public Folders)

size

int

Size of Public Folder (in kilobytes)

[email_address]

string

Primary E-mail Address of mail-enabled Public Folder. This parameter is returned for Public Folder, which is mail-enabled.

[parent_folder_id]

int

ID of parent Public Folder, This parameter is returned for sub-folders only.

Note: This method can also be called under Reseller permissions.