Skip to main content

Create Campaign Filter

POST 

/campaign-filters

Use this API to create a campaign filter based on filter details and criteria.

Request

Body

required

    name stringrequired

    Campaign filter name.

    description string

    Campaign filter description.

    owner stringnullablerequired

    Owner of the filter. This field automatically populates at creation time with the current user.

    mode required

    Possible values: [INCLUSION, EXCLUSION]

    Mode/type of filter, either the INCLUSION or EXCLUSION type. The INCLUSION type includes the data in generated campaigns as per specified in the criteria, whereas the EXCLUSION type excludes the data in generated campaigns as per specified in criteria.

    criteriaList

    object[]

    List of criteria.

  • Array [

  • type CriteriaType (string)required

    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 Operation (string)nullablerequired

    Possible values: [EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, ENDS_WITH, AND, OR, null]

    Operation on a specific criteria

    property stringnullablerequired

    Specified key from the type of criteria.

    value stringnullablerequired

    Value for the specified key from the type of criteria.

  • ]

Responses

Created successfully.

Schema

    name stringrequired

    Campaign filter name.

    description string

    Campaign filter description.

    owner stringnullablerequired

    Owner of the filter. This field automatically populates at creation time with the current user.

    mode required

    Possible values: [INCLUSION, EXCLUSION]

    Mode/type of filter, either the INCLUSION or EXCLUSION type. The INCLUSION type includes the data in generated campaigns as per specified in the criteria, whereas the EXCLUSION type excludes the data in generated campaigns as per specified in criteria.

    criteriaList

    object[]

    List of criteria.

  • Array [

  • type CriteriaType (string)required

    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 Operation (string)nullablerequired

    Possible values: [EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, ENDS_WITH, AND, OR, null]

    Operation on a specific criteria

    property stringnullablerequired

    Specified key from the type of criteria.

    value stringnullablerequired

    Value for the specified key from the type of criteria.

  • ]

Loading...