Docs
Update Reset Definition
PUT /rate-cards/{rateCardId}/reset-definitions/{definitionId}
PUT
/rate-cards/{rateCardId}/reset-definitions/{definitionId}Replaces a reset definition's fields. resetType is ScheduleGap, BlockType (with blockTypeId) or CalendarPeriod (with period Day, Week or Month and periodStartDay); minDuration with durationUnit (Hours, Minutes or Days) gives the minimum gap or block length. Needs the event settings permission.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| rateCardId | uuid | Required | |
| definitionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| resetType | string | Optional | |
| blockTypeId | uuid | Optional | |
| minDuration | number | Optional | |
| durationUnit | string | Optional | |
| period | string | Optional | |
| periodStartDay | string | Optional |