Docs
Update Event Rule
PUT /events/{eventId}/rule-sets/{ruleSetId}/rules/{ruleId}
PUT
/events/{eventId}/rule-sets/{ruleSetId}/rules/{ruleId}Replaces a rule's fields on one of this event's rule sets, as ResourceTypes_UpdateRule does for an organization set. Requires Procurement.Edit at the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | uuid | Required | |
| ruleSetId | uuid | Required | |
| ruleId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| description | string | Optional | |
| priority | integer | Optional | |
| conditionType | string | Optional | |
| trackedBlockTypeIds | uuid[] | Optional | |
| isActive | boolean | Optional | |
| windowStart | time | Optional | |
| windowEnd | time | Optional | |
| resultingStateId | uuid | Optional | |
| daysOfWeek | string[] | Optional | |
| annualDates | string[] | Optional | |
| scope | string | Optional | |
| exemptBlockTypeIds | uuid[] | Optional |