GraphQL reference

CreateCommitmentInput

Input

Autogenerated input type of CreateCommitment

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

Example

mutation CreateCommitment(
  $organizationId: ID!
  $projectId: ID!
  $input: CreateCommitmentInput!
) {
  organization(id: $organizationId) {
    project(id: $projectId) {
      createCommitment(input: $input) {
        commitment
        errors
      }
    }
  }
}

Fields

FieldTypeDescription
clientMutationIdStringA unique identifier for the client performing the mutation.
commitmentNameString
companyIdID!
companyProjectAssociationIdID
createdAtISO8601DateTime
idID!
mutationMetadataJSON
primeBoolean
typeString
updatedAtISO8601DateTime