Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
The resource ID to which the validation rule was assigned; this could be, for example, a resource ID of a voucher, campaign, earning rule, reward assignment, promotion tier, or distribution.
Validation rule ID.
"val_TU4de3EP4dlL"
Which page of results to return. The lowest value is 1
.
1 <= x <= 100
Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
1 <= x <= 100
Sorts the results using one of the filtering options: -created_at
, created_at
, where the dash -
preceding a sorting option means sorting in a descending order.
Response
Returns a dictionary with a data property that contains an array of validation rule assignments. Each entry in the array is a separate object. If no more validation rule assignments are available, the resulting array will be empty. The result can be narrowed down according to default filters.
Response body for GET v1/validation-rules-assignments
and GET v1/validation-rules/{validationRuleId}/assignments
.
Validation Rule Assignments List
The type of the object represented by JSON. This object stores information about validation rule assignments.
Identifies the name of the JSON property that contains the array of validation rule assignments.
A dictionary that contains an array of validation rule assignments.
Total number of validation rule assignments.