INPUT_OBJECT

CreateJobTypeMutationInput

The input object that defines the fields for the createJobType mutation.

link GraphQL Schema definition

  • input CreateJobTypeMutationInput {
  • # A descriptive name.
  • name: String!
  • # Whether or not this is enabled.
  • enabled: Boolean
  • # The default length for a `Job` created using this `JobType`.
  • default_length_in_minutes: Int!
  • # A 6 character hexadecimal string, representing a color used in HTML.
  • color: HtmlHexColor!
  • # An icon.
  • icon: Icon!
  • # Whether `Job`s associated with this `JobType` should be able to be completed
  • # with incomplete tasks.
  • allow_completion_with_incomplete_tasks: Boolean!
  • # Whether or not this `JobType` is valid for all `Companies`.
  • all_companies: Boolean!
  • # If this is set, any `Job` using this `JobType` that is completed successfully
  • # while associated with an `Account` will change the `Account` to this
  • # `AccountStatus`.
  • account_status_id_completion: Int64Bit
  • # If this is set, any `Job` using this `JobType` that is completed unsuccessfully
  • # while associated with an `Account` will change the `Account` to this
  • # `AccountStatus`.
  • account_status_id_failure: Int64Bit
  • # If this is set, any `Job` using this `JobType` that is completed successfully
  • # will create a `Ticket` and assign it to this `TicketGroup`.
  • ticket_group_id_completion: Int64Bit
  • # If this is set, any `Job` using this `JobType` that is completed unsuccessfully
  • # will create a `Ticket` and assign it to this `TicketGroup`.
  • ticket_group_id_failure: Int64Bit
  • # The ID of a `ContractTemplate`.
  • contract_template_id: Int64Bit
  • # The ID of a `TaskTemplate`.
  • task_template_id: Int64Bit
  • # IDs of `Companies`.
  • company_ids: [Int64Bit]
  • # IDs of `Service`s.
  • service_ids: [Int64Bit]
  • # A note about this entity.
  • note: NoteMutationInput
  • }

link Require by