Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.31 KB

ValidationRulesAssignmentsCreateResponseBody.md

File metadata and controls

40 lines (24 loc) · 1.31 KB

ValidationRulesAssignmentsCreateResponseBody

Response body for POST /validation-rules/{validationRuleId}/assignments.

Properties

Name Type Description Notes
id String Validation rule assignment ID.
ruleId String Validation rule ID.
relatedObjectId String The resource ID to which the validation rule was assigned.
relatedObjectType RelatedObjectTypeEnum The type of resource to which the validation rule was assigned.
createdAt OffsetDateTime Timestamp representing the date and time when the validation rule assignment was created. The value is shown in the ISO 8601 format.
_object ObjectEnum The type of the object represented by the ID.

Enum: RelatedObjectTypeEnum

Name Value
VOUCHER "voucher"
CAMPAIGN "campaign"
EARNING_RULE "earning_rule"
REWARD_ASSIGNMENT "reward_assignment"
PROMOTION_TIER "promotion_tier"
DISTRIBUTION "distribution"

Enum: ObjectEnum

Name Value
VALIDATION_RULES_ASSIGNMENT "validation_rules_assignment"