Update rules execution order
put/ruleSets/{ruleSetId}/order
Returns the execution order for rules within the rule set based on the provided body.
1{2 "version": 1,3 "type": "id",4 "template": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/rules/{id}",5 "resources": [6 "da5a5617-ebc8-4864-a18d-fd6c29acc5be",7 "8d72248c-3e73-4ff7-af18-9015ada4ab8e"8 ],9 "links": [10 {11 "method": "GET",12 "rel": "up",13 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",14 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",15 "type": "application/vnd.sas.business.rule.set"16 },17 {18 "method": "GET",19 "rel": "self",20 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/order",21 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/order",22 "type": "application/vnd.sas.selection"23 }24 ]25}
Name | Type | Required | Description |
---|---|---|---|
If-Unmodified-Since | string<date-time> | true | The last date and time of the contents retrieved for the rule set on which you are basing your update. |
Customized ordering for the rules during execution.
Identifies a set of resources.
Name | Type | Required | Description |
---|---|---|---|
version | integer | true | The schema version number of this media type. This representation is version 1. |
template | string | false | A URI template in which the {id} parameter can be replaced with a value from the "resources" array in order to yield the URI of the identified resource. |
type | string | false | Specifies whether the resources array contains IDs, URIs, or both. Allowed values: idurimixed |
resources | array [string] | true | An array of resource IDs or URIs |
links | array [Link] | false | An array of links to related resources and actions. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No resource exists at the requested path. | Schema | |
412 | Precondition Failed | The `If-Unmodified-Since` request header did not match the resource's last modified timestamp. | Schema | |
428 | Precondition Required | The request headers did not include a `If-Unmodified-Since` precondition. | Schema |