Cancel Submission
POST https://{{vaultDNS}}/api/{{version}}/vobjects/submission__v/:{submission_id}/actions/import?cancel=true
https://developer.veevavault.com/api/21.1/#cancel-submission
You can use this request on a submission object record that has a SubmissionsArchive status (archivestatus_v) of:
Name Description IMPORTINPROGRESS This will terminate the import job and set the archivestatusv field on the submissionv object record to “Error”. The submission must be removed before a re-import can be done. See Remove Submission above. REMOVALINPROGRESS This will terminate the import removal job and set the archivestatusv field on the submissionv object record to “Error”. The submission must be removed before a re-import can be done. See Remove Submission above. IMPORTINQUEUE This will remove the import from the job queue and set the archivestatusv field on the submissionv object record to “Null”. See Import Submission above. REMOVALINQUEUE This will remove the import removal from the job queue and set the archivestatusv field on the submissionv object record to “Error”. See Import Submission above.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cancel | boolean | You must include cancel = true to the request endpoint. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string |