Docs
Bulk Repoint Component
PUT /resourceTypes/{resourceTypeId}/components/{componentId}/repoints
PUT
/resourceTypes/{resourceTypeId}/components/{componentId}/repointsRepoints one component on many variants in one transaction, so a bulk edit never half-applies. Each entry is a ResourceTypes_RepointVariantComponent body plus its variantId, and an entry equal to the component's own target deletes that variant's repoint, so a bulk reset is the same call. Variant ids come from ResourceTypes_GetVariants. Requires ResourceTypeDatabase.Edit.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | uuid | Required | |
| componentId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| repoints | BulkRepointComponentRequestVariantRepoint[] | Optional |
BulkRepointComponentRequestVariantRepoint
| Field | Type | Description |
|---|---|---|
| variantId | uuid | |
| targetResourceTypeId | uuid | |
| targetResourceVariantIds | uuid[]| null | |
| quantity | integer| null | |
| isExcluded | boolean |