Submissions

Get Merged Submissions

Submission super access is required. This endpoint returns the merged submission object across provided submission ids. The submissions are merged in the order specified by sortOrder and sortBy. If not specified, the submission objects are applied from left to right. Subsequent submission overwrite property assignment of previous sources.

Authorization Required:

  • See Submission Access (Submission Access)
get/submissions/merge/{submissionIds}

Path parameters

submissionIdsstring required

A comma separated list of submission ids to merge.

Query parameters

conflictCheckFieldsstring

A comma separated list of fields to report conflicts on.

reportConflictsstring

If reportConflicts is specified, an array called 'conflicts' will be appended at the top level of the object.

sortBystring

A comma separated list of fields to sort by.

sortOrder'asc' | 'desc'

A comma separated list of sort orders. If sortOrder is unspecified, all values are sorted in ascending order. Otherwise, specify an order of "desc" for descending or "asc" for ascending sort order of corresponding values.

Response

Submissions

idstring required
ownerstring

Submission owner

formstring required
createdstring date-time required
modifiedstring date-time required
deletedstring date-time
isRevisionboolean
formArchivestring

The form version the revision was saved under

Example response

{
  "conflicts": [
    [
      "feildA",
      "feildB"
    ]
  ]
}