Docs

Update Event Resource Type Pricing

PATCH /events/{eventId}/resource-types/{resourceTypeId}

PATCH/events/{eventId}/resource-types/{resourceTypeId}

Sets or clears the card and the rule sets every line of this type on the event uses when it has none of its own. Body { rateCardId, ruleSetIds }, a whole replace: rateCardId is one of the type's cards or this event's cards for it, null inherits the organization's; ruleSetIds are organization library sets (ResourceTypes_GetRuleSets) or this event's (ResourceTypes_GetEventRuleSets), null or empty inherits the type's defaults. Pick the event's "No rules" set (ResourceTypes_CreateEventRuleSet with empty) to turn overtime and premium rules off. Creates the event's row for the type if needed and deletes it when nothing is left. resourceTypeId comes from ResourceTypes_GetEventResourceTypes. Requires Procurement.Edit at the event.

Path Parameters

FieldTypeRequiredDescription
eventIduuidRequired
resourceTypeIduuidRequired

Request Body

FieldTypeRequiredDescription
rateCardIduuidOptional
ruleSetIdsuuid[]Optional