Pause a Job.
Pause a Job by Id.
Function
pauseJob()
Url
- POST:
/PuresendService/v1/pauseJob
Parameters
- jobId:
int
- Job Id.
Return
- statusCode:
int
1
: success0
: failed
Exception
- Exception
Documentation
- Pause a job if:
- the job has not failed previously,
- the job is not a draft job and has not finished.
Examples
{
"jobId" : 12345
}
{
"statusCode" : 0
}