Docs

Post

POST /resourceTypes

POST/resourceTypes

Creates a resource type (Asset or Crew) and returns its id. A new type gets one default section and a hidden base variant. Attributes are not part of the request: place library attributes into its sections with Resources_PlaceResourceTypeAttribute. The categoryId comes from Resources_GetCategories. To copy a type from the organization's library instead, use Resources_PullResourceType.

Request Body

FieldTypeRequiredDescription
typestringOptional
namestringOptional
labelstringOptional
iconstringOptional
colorstringOptional
trackingTypestringOptional
defaultOwneruuidOptional
categoryIduuidOptional
isDockablebooleanOptional
isScheduledbooleanOptional
hasProviderbooleanOptional
hasPayorbooleanOptional
lineItemLabelstringOptional
defaultRuleSetIdsuuid[]Optional

Response

Type: uuid