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/03/12 10:18:00 UTC

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

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

Serge Huber updated UNOMI-279:
------------------------------
    Description: 
consent_contains should be mapped to : 

{ 
   "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
          }
       }
     ]
   }
}

> 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 : 
> { 
>    "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
>           }
>        }
>      ]
>    }
> }



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