EnumEntities

Description: Returns a list of entities for the database currently open in the HSF Gateway. If an entity is specified, the list will contain only ancestors of that entity.

Prerequisites: CreateSession(), OpenServer() and OpenDatabase().

Syntax

Parameters

Table 9. EnumEntities Parameters

ParameterData TypeDescription
sessionIDstringA session identifier
entitystringAn entity nameAn empty string (“”) indicates starting at the root.
actionstringUse one of the following:
  • <blank> (default) or all

    Enumerates all entities

  • children

    Enumerates down to the children

  • descendents

    Enumerates down to descendents

Returns

A list of entities in the open database

Example

See IncomeStatement.aspx.