Skip to main content

Create a Campaign Filter

POST 

/campaign-filters

Create a campaign Filter based on filter details and criteria.

Request

Body

required
    id string

    Id of the campaign filter

    name stringrequired

    This is campaign filter's name.

    description stringrequired

    This is campaign filter's description.

    owner stringnullablerequired

    The owner of this filter. This field is automatically populated at creation time with the current user.

    mode required

    Possible values: [INCLUSION, EXCLUSION]

    The mode/type of Filter, where it is of INCLUSION or EXCLUSION type. INCLUSION type will include the data in generated campaign as per specified in criteria, whereas EXCLUSION type will exclude the the data in generated campaign as per specified in criteria.

    criteriaList object[]

    List of criteria.

  • Array [
  • type CriteriaTyperequired

    Possible values: [COMPOSITE, ROLE, IDENTITY, IDENTITY_ATTRIBUTE, ENTITLEMENT, ACCESS_PROFILE, SOURCE, ACCOUNT, AGGREGATED_ENTITLEMENT, INVALID_CERTIFIABLE_ENTITY]

    Type of the criteria in the filter. The COMPOSITE filter can contain multiple filters in an AND/OR relationship.

    operation objectnullable

    Operation on a specific criteria

    property stringnullablerequired

    The specified key from the Type of criteria.

    value stringnullablerequired

    The value for the specified key from the Type of Criteria

  • ]

Responses

Created successfully.

Schema
    id string

    Id of the campaign filter

    name stringrequired

    This is campaign filter's name.

    description stringrequired

    This is campaign filter's description.

    owner stringnullablerequired

    The owner of this filter. This field is automatically populated at creation time with the current user.

    mode required

    Possible values: [INCLUSION, EXCLUSION]

    The mode/type of Filter, where it is of INCLUSION or EXCLUSION type. INCLUSION type will include the data in generated campaign as per specified in criteria, whereas EXCLUSION type will exclude the the data in generated campaign as per specified in criteria.

    criteriaList object[]

    List of criteria.

  • Array [
  • type CriteriaTyperequired

    Possible values: [COMPOSITE, ROLE, IDENTITY, IDENTITY_ATTRIBUTE, ENTITLEMENT, ACCESS_PROFILE, SOURCE, ACCOUNT, AGGREGATED_ENTITLEMENT, INVALID_CERTIFIABLE_ENTITY]

    Type of the criteria in the filter. The COMPOSITE filter can contain multiple filters in an AND/OR relationship.

    operation objectnullable

    Operation on a specific criteria

    property stringnullablerequired

    The specified key from the Type of criteria.

    value stringnullablerequired

    The value for the specified key from the Type of Criteria

  • ]
Loading...