Docs
Create Event Rule Set
POST /events/{eventId}/rule-sets
POST
/events/{eventId}/rule-setsCreates a rule set only this event uses: a copy of an organization library set or another of this event's sets (copyFromRuleSetId from ResourceTypes_GetRuleSets or ResourceTypes_GetEventRuleSets), or an empty one. With empty: true it returns the event's first set that has no rules, creating "No rules" when there is none; name it to a line or the type's event rule sets to turn overtime and premium rules off. name is required unless empty. Requires Procurement.Edit at the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| copyFromRuleSetId | uuid | Optional | |
| name | string | Optional | |
| empty | boolean | Optional |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid |