Creating a job.
Create a draft job via the Web Service. You can then update this draft job with the necessary information.
Function
createJob()
Url
- POST:
/PuresendService/v1/createJob
Parameters
- jobName:
String
- Job name. Must be a unique name.
- categoryId:
Integer
- Category to create job in.
-1
for default top level category.
Return
- jobPrimaryKey:
int
- The job id of the newly created job.
Exception
- Exception
Documentation
- To create a Job via the Web Service, use this function:
createJob()
- To update the necessary information for the Job via the Web Service, use function:
updateJob()
Examples
{
"jobName": "name of job",
"categoryId" : -1
}
{
"jobPrimaryKey": 45928
}