Docs
Add Event Rule
POST /events/{eventId}/rule-sets/{ruleSetId}/rules
POST
/events/{eventId}/rule-sets/{ruleSetId}/rulesAdds a rule to one of this event's rule sets, as ResourceTypes_AddRule does for an organization set; the event's lines that use the set are re-graded. Requires Procurement.Edit at the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | uuid | Required | |
| ruleSetId | 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 |