GraphQL reference

CreateIncidentTypeInput

Input

Autogenerated input type of CreateIncidentType

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

Example

mutation CreateIncidentType(
  $organizationId: ID!
  $projectId: ID!
  $input: CreateIncidentTypeInput!
) {
  organization(id: $organizationId) {
    project(id: $projectId) {
      createIncidentType(input: $input) {
        incidentType
        errors
      }
    }
  }
}

Fields

FieldTypeDescription
clientMutationIdStringA unique identifier for the client performing the mutation.
idID!—
mutationMetadataJSON—
nameString!—
nowISO8601DateTime—
recordTypes[IncidentTypeRecordTypeInput!]—