You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (Jira)" <ji...@apache.org> on 2020/04/02 08:21:00 UTC

[jira] [Resolved] (UNOMI-279) Implement createOrUpdateSegment mutation

     [ https://issues.apache.org/jira/browse/UNOMI-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serge Huber resolved UNOMI-279.
-------------------------------
    Resolution: Fixed

> Implement createOrUpdateSegment mutation
> ----------------------------------------
>
>                 Key: UNOMI-279
>                 URL: https://issues.apache.org/jira/browse/UNOMI-279
>             Project: Apache Unomi
>          Issue Type: Sub-task
>            Reporter: Serge Huber
>            Assignee: Serge Huber
>            Priority: Major
>
> consent_contains should be mapped to : 
> {code}
> { 
>    "type" : "booleanCondition",
>    "parameterValues" : {
>      "operator" : "and",
>      "subConditions": [
>        {
>           "type" : "profilePropertyCondition",
>           "parameterValues" : {
>             "propertyName" : "consent.typeIdentifier",
>             "operator" : "equals",
>             "propertyValue" : YOUR_CONSENT_IDENTIFIER
>           }
>        },
>        {
>           "type" : "profilePropertyCondition",
>           "parameterValues" : {
>             "propertyName" : "consent.status",
>             "operator" : "equals",
>             "propertyValue" : GRANTED
>           }
>        }
>      ]
>    }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)