Skip to main content

Preview form definition data source.

POST 

/form-definitions/:formDefinitionID/data-source

Preview form definition data source.

Request

Path Parameters

    formDefinitionID stringrequired

    Form definition ID

    Example: 00000000-0000-0000-0000-000000000000

Query Parameters

    limit int64

    Possible values: <= 250 characters

    Default value: 10

    Limit

    Integer specifying the maximum number of records to return in a single API call. The standard syntax described in V3 API Standard Collection Parameters. If it is not specified, a default limit is used.

    Example: 10
    filters string

    Filter results using the standard syntax described in V3 API Standard Collection Parameters

    Filtering is supported for the following fields and operators:

    value: eq, ne, in

    Supported composite operators: not

    Only a single not may be used, and it can only be used with the in operator. The not composite operator must be used in front of the field. For example, the following is valid: not value in ("ID01")

    Example: value eq "ID01"
    query string

    String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a "starts with" filter against several fields.

    Example: ac

Body

Body is the request payload to create a form definition dynamic schema

    dataSource

    object

    config

    object

    aggregationBucketField string

    AggregationBucketField is the aggregation bucket field name

    indices string[]

    Possible values: [accessprofiles, accountactivities, entitlements, identities, events, roles, *]

    Indices is a list of indices to use

    objectType string

    Possible values: [IDENTITY, ACCESS_PROFILE, SOURCES, ROLE, ENTITLEMENT]

    ObjectType is a PreDefinedSelectOption value IDENTITY PreDefinedSelectOptionIdentity ACCESS_PROFILE PreDefinedSelectOptionAccessProfile SOURCES PreDefinedSelectOptionSources ROLE PreDefinedSelectOptionRole ENTITLEMENT PreDefinedSelectOptionEntitlement

    query string

    Query is a text

    dataSourceType string

    Possible values: [STATIC, INTERNAL, SEARCH, FORM_INPUT]

    DataSourceType is a FormElementDataSourceType value STATIC FormElementDataSourceTypeStatic INTERNAL FormElementDataSourceTypeInternal SEARCH FormElementDataSourceTypeSearch FORM_INPUT FormElementDataSourceTypeFormInput

Responses

Returns a preview of a form definition data source

Schema

    results

    object[]

    Results holds a list of FormElementDataSourceConfigOptions items

  • Array [

  • label string

    Label is the main label to display to the user when selecting this option

    subLabel string

    SubLabel is the sub label to display below the label in diminutive styling to help describe or identify this option

    value string

    Value is the value to save as an entry when the user selects this option

  • ]

Loading...