Creating a job from an existing job.

Creating a draft job from an existing job. You can then update this draft job with the necessary information.


Function

  • createJobFromExistingJob()

Url

  • POST: /PuresendService/v1/createJobFromExistingJob

Parameters

  • existingJobId: int
    • Job id of an existing job.
  • newJobName: String
    • Job name for the new draft job.

Return

  • jobPrimaryKey: int
    • The job id of the newly created job.

Exception

  • Exception

Documentation

  • Creating a draft job from an existing job. You can then update this draft job with the necessary information.
  • To create a draft job from an existing job via the Web Service, use this function:createJobFromExistingJob()
  • To update the necessary information for the Job via the Web Service, use function: updateJob()

Examples

{
    "existingJobId": 12345, 
    "newJobName" : "new job name"
} 
{
    "jobPrimaryKey": 12346
}