GraphQL reference

AddInspectionItemPayload

Object

Autogenerated return type of AddInspectionItem.

mutation { organization(id: $organizationId) { project(id: $projectId) { addInspectionItem } } }

Example

mutation AddInspectionItem(
  $organizationId: ID!
  $projectId: ID!
  $input: AddInspectionItemInput!
) {
  organization(id: $organizationId) {
    project(id: $projectId) {
      addInspectionItem(input: $input) {
        inspectionItem
        errors
      }
    }
  }
}

Fields

FieldTypeDescription
clientMutationIdStringA unique identifier for the client performing the mutation.
constructableUrlString
errors[String!]!
inspectionItemInspectionItem