Docs
Place Resource Type Attribute
POST /resourceTypes/{resourceTypeId}/sections/{sectionId}/attributes
POST
/resourceTypes/{resourceTypeId}/sections/{sectionId}/attributesPlaces 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
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | uuid | Required | |
| sectionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| resourceAttributeId | uuid | Optional | |
| isRequired | boolean | Optional | |
| pricingRole | string | Optional | |
| useCases | string[] | Optional | |
| index | integer | Optional |