Function execute

  • Executes a request.

    Parameters

    • actionName: string

      The unique name of the request.

    • requestParameters: RequestParameter[] | {
          [key: string]: any;
      }

      An array of objects with the parameter name, type, and value.

    • Optional boundEntity: EntityReference

      An optional EntityReference of the bound entity.

    • Optional operationType: number = 1

      The type of the request. 0 for functions 1 for actions, 2 for CRUD operations.

    Returns Promise<any>

    • A Promise with the request response.

    Throws

    • Throws an error if the request parameter is not of a supported type or has an invalid value.

Generated using TypeDoc