Docs

Add Event Reset Condition

POST /events/{eventId}/rule-sets/{ruleSetId}/rules/{ruleId}/reset-conditions

POST/events/{eventId}/rule-sets/{ruleSetId}/rules/{ruleId}/reset-conditions

Adds a reset condition to a rule of one of this event's rule sets, as ResourceTypes_AddResetCondition does; thresholdOverrides can set a different threshold for any of the rule's thresholds. Requires Procurement.Edit at the event.

Path Parameters

FieldTypeRequiredDescription
eventIduuidRequired
ruleSetIduuidRequired
ruleIduuidRequired

Request Body

FieldTypeRequiredDescription
resetTypestringOptional
blockTypeIduuidOptional
minDurationnumberOptional
durationUnitstringOptional
periodstringOptional
periodStartDaystringOptional
thresholdOverridesCreateEventResetConditionRequestThresholdOverrideRequest[]Optional

CreateEventResetConditionRequestThresholdOverrideRequest

FieldTypeDescription
ruleThresholdIduuid
thresholdnumber
thresholdUnitstring| null