GraphQL reference

CreateTakeoffItemInput

Input

Autogenerated 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

FieldTypeDescription
areaUnitString
clientMutationIdStringA unique identifier for the client performing the mutation.
colorString!
duplicateMeasurementsBoolean
fromTakeoffItemIdID
idID!
mutationMetadataJSON
nameString!
nowISO8601DateTime
quantityMarkerString
takeoffCategoryIdID!
topicIdID!
unitString!
unitCostCentsBigInt
unitCostCurrencyString
unitMultiplierFloat