Parameter

Type

Description







Request






Response
GETPUTPOSTDELETEGETPUTPOSTDELETE
fact

String

The rules fact, ex. the action, the product, the sum of events etc.
YesYes
YesYesYes
operator
StringPart of the rule which operates the fact ex. is, more than, less than etc.
YesYes
YesYesYes
constant
StringA rules value that defines the fact ex. if the fact is "the action" then the constant is "win"
YesYes
YesYesYes
id
StringUnique system identifier of a Main Rule



YesYesYes
subConditions
Array [Object]

subConditionSet model


OptionalOptional
YesYesYes

You can find all the MainRules facts and operators variables for the achievement creation or contests creation in Rules