Abort a Job.
Abort the Job by ID.
Function
abortJob()
Url
- POST:
/PuresendService/v1/abortJob
Parameters
- jobId:
Integer
- Id of the job to abort.
Return
- statusCode:
int
1
: Successfully Aborted this Job0
: Failed Aborted this Job
Exception
- Exception
Documentation
- Ability to abort the job when it is:
- Paused,
- NOT finished
- the state equals Ready.
Examples
{
"jobId" : 12345
}
{
"statusCode" : 0
}