CreatePreferenceRuleInput
The input type for creating a PreferenceRule.
input CreatePreferenceRuleInput {
groupCode: ID!
tag: String!
context: String!
criteria: PreferenceRuleCriteriaInput!
value: PreferenceRuleValueInput!
}
Fields
CreatePreferenceRuleInput.groupCode
● ID!
non-null scalar
Group code where the rule will apply.
CreatePreferenceRuleInput.tag
● String!
non-null scalar
It is used to identify the rule with a frendly name.
CreatePreferenceRuleInput.context
● String!
non-null scalar
Context where the rule will apply.
CreatePreferenceRuleInput.criteria
● PreferenceRuleCriteriaInput!
non-null input
It is used to define the conditions that the rule will be applied to.
CreatePreferenceRuleInput.value
● PreferenceRuleValueInput!
non-null input
It is used to define the codes that will be preference or whitelisted.