Skip to content

You can use this request on a submission object record that has a Submissions Archive Status (archive_status__v) of:

NameDescription
IMPORT_IN_PROGRESSThis will terminate the import job and set the archive_status__v field on the submission__v object record to "Error". The submission must be removed before a re-import can be done. See Remove Submission.
REMOVAL_IN_PROGRESSThis will terminate the import removal job and set the archive_status__v field on the submission__v object record to "Error". The submission must be removed before a re-import can be done. See Remove Submission.
IMPORT_IN_QUEUEThis will remove the import from the job queue and set the archive_status__v field on the submission__v object record to "Null". See Import Submission.
REMOVAL_IN_QUEUEThis will remove the import removal from the job queue and set the archive_status__v field on the submission__v object record to "Error". See Import Submission.

To retrieve the archive_status__v,

GET/api/{version}/vobjects/submission__v/{submission_id}
. See Retrieve Object Record.

POST/api/{version}/vobjects/submission__v/{submission_id}/actions/import?cancel=true
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{submission_id}The id field value of the submission__v object record. To get this value, use VQL to retrieve all records on the submission__v object.
NameDescription
cancelYou must include cancel = true to the request endpoint.
curl -X POST -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v26.1/vobjects/submission__v/00S000000000101/actions/import?cancel=true
{ "responseStatus": "SUCCESS" }