CancelJobRequest element
The required CancelJobRequest operation enables a client to cancel a scan job.
<wscn:CancelJobRequest>
child elements
</wscn:CancelJobRequest>
There are no attributes.
None
Element |
---|
JobId |
There are no parent elements.
A client can cancel a scan job from the time the job is created up to the time it is completed, canceled, or aborted. The JobId element identifies the job that the client is trying to cancel.
The WSD Scan Service should move the specified job to the Terminating state if the job was at a Pending or Active state. It is an error to attempt to cancel a completed or canceled job or to try canceling any job that the client does not have rights to.
common WSD Scan Service operation error codesWSD Scan Service Operation Error Reporting
This operation can return all of the common WSD Scan Service operation error codes. For more information about how to report errors, see WSD Scan Service Operation Error Reporting.
CancelJobRequest can also return the following error code:
- ClientErrorJobIdNotFound