Docs
Post
POST /resourceTypes
POST
/resourceTypesCreates 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
| Field | Type | Required | Description |
|---|---|---|---|
| type | string | Optional | |
| name | string | Optional | |
| label | string | Optional | |
| icon | string | Optional | |
| color | string | Optional | |
| trackingType | string | Optional | |
| defaultOwner | uuid | Optional | |
| categoryId | uuid | Optional | |
| isDockable | boolean | Optional | |
| isScheduled | boolean | Optional | |
| hasProvider | boolean | Optional | |
| hasPayor | boolean | Optional | |
| lineItemLabel | string | Optional | |
| defaultRuleSetIds | uuid[] | Optional |
Response
Type: uuid