Docs

Create Schedule Block Type

POST /schedule-block-types

POST/schedule-block-types

Creates a schedule block type and returns its id. defaultResourceStateId, when sent, must be a state on this event; state ids come from Resources_GetResourceStates.

Request Body

FieldTypeRequiredDescription
namestringOptional
labelstringOptional
iconstringOptional
colorstringOptional
defaultResourceStateIduuidOptional

Response

Type: uuid