Get Rules
GET/rulesets/:rulesetId/rules
Returns a list of rules in a ruleset; available as an Add-On Module
Request
Path Parameters
Ruleset Identifier
Query Parameters
Site Identifier
Next page of results token
Limit Results
10
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Next page of results token
rules
object[]
List of rules
Workflow to start on matching of conditions
Rule priority
Ruleset description
Workflow to start on matching of conditions
Status of the Ruleset
Possible values: [ACTIVE
, INACTIVE
]
conditions
object
must
object[]
List of rule conditions
Rule condition attribute (deprecated, use Criterion)
Possible values: [TEXT
, CONTENT_TYPE
, BARCODE
, FIELD
, ATTRIBUTE
]
Rule condition attribute
Possible values: [TEXT
, CONTENT_TYPE
, BARCODE
, FIELD
, ATTRIBUTE
]
Rule attribute key (only required for ATTRIBUTE criterion)
Rule field name (only required for FIELD criterion)
Rule condition value
Rule condition attribute
Possible values: [EQ
, CONTAINS
]
{
"next": "string",
"rules": [
{
"ruleId": "string",
"priority": 0,
"description": "string",
"workflowId": "string",
"status": "ACTIVE",
"conditions": {
"must": [
{
"attribute": "TEXT",
"criterion": "TEXT",
"attributeKey": "string",
"fieldName": "string",
"value": "string",
"operation": "EQ"
}
]
}
}
]
}