Docs

Get

GET /resourceTypes

GET/resourceTypes

Lists every resource type in the organization with its sections, placed attributes, rate cards and components. Use it to find resource type ids; for one type, use ResourceTypes_GetResourceType. Requires ResourceTypeDatabase.Read.

Response

Type: GetResourceTypesResponse[]

GetResourceTypesResponse

FieldTypeDescription
iduuid
typestring| null
namestring| null
iconstring| null
colorstring| null
labelstring| null
categoryGetResourceTypesResponseCat
isDockableboolean
isScheduledboolean
hasProviderboolean
hasPayorboolean
lineItemLabelstring| null
lineItemBodyuuid[]| null
trackingTypestring| null
defaultOwneruuid| null
sectionsGetResourceTypesResponseSection[]| null
defaultRateCardIduuid| null
rateCardsGetOwnedRateCardResponse[]| null
componentsResourceComponentResponse[]| null
defaultRuleSetIdsuuid[]| null

GetResourceTypesResponseCat

FieldTypeDescription
iduuid
namestring| null
iconstring| null
colorstring| null

GetResourceTypesResponseSection

FieldTypeDescription
iduuid
namestring| null
indexinteger
attributesGetResourceTypesResponsePlacement[]| null

GetOwnedRateCardResponse

FieldTypeDescription
iduuid
namestring| null
usageGetOwnedRateCardResponseUsageInfo

ResourceComponentResponse

FieldTypeDescription
iduuid
labelstring| null
targetResourceTypeIduuid
targetResourceTypeNamestring| null
targetResourceVariantIduuid| null
targetResourceVariantNamestring| null
quantityinteger
indexinteger

GetResourceTypesResponsePlacement

FieldTypeDescription
resourceAttributeIduuid
attributeGetResourceTypesResponsePlacedAttribute
isRequiredboolean
pricingRolestring| null
useCasesstring[]| null
indexinteger
modifiersGetResourceTypesResponsePropertyModifier[]| null

GetOwnedRateCardResponseUsageInfo

FieldTypeDescription
variantsinteger
resourcesinteger