OBJECT

FormResultMutation

Mutations that act on Form Results.

link GraphQL Schema definition

  • type FormResultMutation {
  • # Merges a form result with its form's merge template.
  • #
  • # Arguments
  • # id: The ID of the form result to merge.
  • # offset: Number of minutes ahead/behind of UTC. (e.g. GMT+10 =
  • # 600, GMT-8 = -480)
  • merge(id: Int!, offset: Int): MergeResult
  • # Create a presigned url that users can upload form attachments directly from
  • # client side.
  • #
  • # Arguments
  • # form_id: The id of the form you are attaching an image to
  • # filename: The name of the attachment to create a presigned url
  • # for
  • createSignedUrl(form_id: Int!, filename: String!): SignedUrl
  • # Updates the existing form result and saves the old values as a past version.
  • #
  • # Arguments
  • # formResultVersion: The form result version that you wish to
  • # add.
  • addNewVersion(formResultVersion: FormResultPastVersionCreate!): NewVersionSuccessResult
  • # Creates a new lock file for the specified form resut.
  • #
  • # Arguments
  • # input: The form result id input to lock the form result
  • createLock(input: FormResultLockCreateInput): FormResultLockResult
  • # Refreshes the expired time of current lock file for the specified form resut.
  • #
  • # Arguments
  • # input: The form result id of the form result you wish to
  • # refresh the lock of
  • refreshLock(input: FormResultLockRefreshInput): FormResultLockResult
  • # Unlock the form result for editing.
  • #
  • # Arguments
  • # input: The form result id input to unlock the form result
  • unlock(input: FormResultLockDeleteInput): SuccessResult
  • # Delete a form result.
  • #
  • # Arguments
  • # input: The form result input to delete
  • deleteInProgressForm(input: FormResultDeleteInput): SuccessResult
  • # Create a signed path that users can use to display images they have uploaded.
  • #
  • # Arguments
  • # input: The path you wish to sign.
  • signAttachmentPath(input: FormResultSignAttachmentPathInput): FormResultSignedAttachmentPath
  • # Merges a current form result with its form template's merge template.
  • #
  • # Arguments
  • # id: The current value of the form result to merge.
  • preview(id: Int!): MergePreviewResult
  • }