Docs

Place Resource Type Attribute

POST /resourceTypes/{resourceTypeId}/sections/{sectionId}/attributes

POST/resourceTypes/{resourceTypeId}/sections/{sectionId}/attributes

Places a library attribute in a section of a resource type; an attribute is placed at most once per type. The resourceAttributeId comes from Resources_GetResourceAttributes and must not be archived. pricingRole is None, Variant, Modifier or Unit. useCases lists where the attribute is active (Procurement, Inventory): a Variant attribute needs both, and a composite type's attributes are Procurement only. Needs the event settings permission.

Path Parameters

FieldTypeRequiredDescription
resourceTypeIduuidRequired
sectionIduuidRequired

Request Body

FieldTypeRequiredDescription
resourceAttributeIduuidOptional
isRequiredbooleanOptional
pricingRolestringOptional
useCasesstring[]Optional
indexintegerOptional