INPUT_OBJECT

UpdateJobMutationInput

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

link GraphQL Schema definition

  • input UpdateJobMutationInput {
  • # The ID of a `JobType`.
  • job_type_id: Int64Bit
  • # The ID of a `Ticket`.
  • ticket_id: Int64Bit
  • # The date and time this `Job` is scheduled for.
  • scheduled_datetime: Datetime
  • # The length in minutes for this `Job`.
  • length_in_minutes: Int
  • # The type of entity that this `Job` is associated with.
  • jobbable_type: JobbableType
  • # The ID of the entity that this `Job` is associated with.
  • jobbable_id: Int64Bit
  • # IDs of `User`s.
  • user_ids: [Int64Bit]
  • # Any notes entered when this `Job` was completed.
  • completion_notes: Text
  • # If this is `true` then the new `JobType`'s task template will be applied and
  • # existing uncompleted tasks will be removed.
  • replace_existing_tasks: Boolean
  • # Data to insert into custom fields.
  • custom_field_data: [CustomFieldDataMutationInput]
  • # If IDs of `CustomField` objects that are associated with this entity are
  • # provided here, they will be unset and removed. You cannot unset data where the
  • # `CustomField` property `required` is set to `true`.
  • unset_custom_field_data: [Int64Bit]
  • # A note about this entity.
  • note: NoteMutationInput
  • # A list of file IDs to be associated with this object. These must first have been
  • # uploaded to the /files endpoint and must be currently unassociated.
  • files: [AssociateFileMutationInput]
  • # The task to be performed.
  • tasks: [TaskMutationInput]
  • # Setting this value to `true` will set `ticket_id` to null.
  • unset_ticket_id: Boolean
  • # Setting this value to `true` will set `scheduled_datetime` to null.
  • unset_scheduled_datetime: Boolean
  • # Setting this value to `true` will set `completion_notes` to null.
  • unset_completion_notes: Boolean
  • }

link Require by