Docs
Create Schedule Block Type
POST /schedule-block-types
POST
/schedule-block-typesCreates a schedule block type and returns its id as a bare Guid. defaultResourceStateId, the state a block of this type puts its resource into by default, comes from ResourceTypes_GetResourceStates. Requires ResourceTypeDatabase.Edit.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| label | string | Optional | |
| icon | string | Optional | |
| color | string | Optional | |
| defaultResourceStateId | uuid | Optional |
Response
Type: uuid