Submission Versions
Getting Version Details
Returns metadata about a particular version of the submission. As with the normal submission endpoint, you'll only get metadata in JSON out of this route. If you want to retrieve the XML, add .xml.
This endpoint supports retrieving extended metadata; provide a header X-Extended-Metadata: true to return a submitter data object alongside the submitterId Actor ID reference.
get/v1/projects/{projectId}/forms/{xmlFormId}/submissions/{instanceId}/versions/{versionId}
Path parameters
projectIdnumber required
The numeric ID of the Project
xmlFormIdstring required
The xmlFormId of the Form being referenced.
instanceIdstring required
The instanceId of the Submission being referenced.
versionIdstring required
The instanceId of the particular version of this submission in question.
Response
This is the Extended Metadata response, if requested via the appropriate header:
Example response
{
"instanceId": "uuid:85cb9aff-005e-4edd-9739-dc9c1a829c44",
"instanceName": "village third house",
"submitterId": 23,
"deviceId": "imei:123456",
"userAgent": "Enketo/3.0.4",
"createdAt": "2018-01-19T23:58:03.395Z",
"current": true
}