CreateTakeoffItemInput
InputAutogenerated input type of CreateTakeoffItem
mutation { organization(id: $organizationId) { project(id: $projectId) { createTakeoffItem } } }
Example
mutation CreateTakeoffItem(
$organizationId: ID!
$projectId: ID!
$input: CreateTakeoffItemInput!
) {
organization(id: $organizationId) {
project(id: $projectId) {
createTakeoffItem(input: $input) {
errors
}
}
}
}Fields
| Field | Type | Description |
|---|---|---|
| areaUnit | String | — |
| clientMutationId | String | A unique identifier for the client performing the mutation. |
| color | String! | — |
| duplicateMeasurements | Boolean | — |
| fromTakeoffItemId | ID | — |
| id | ID! | — |
| mutationMetadata | JSON | — |
| name | String! | — |
| now | ISO8601DateTime | — |
| quantityMarker | String | — |
| takeoffCategoryId | ID! | — |
| topicId | ID! | — |
| unit | String! | — |
| unitCostCents | BigInt | — |
| unitCostCurrency | String | — |
| unitMultiplier | Float | — |