Creating a job

A job is the object that is being sent to the submit method. It is defined as one array of input files, one array of targets, and an optional batchId.

This code shows the JSON format:

{
  "input": [],
  "targets":[],
  "batchId": ""
}

The input array specifies all inputs, that is, files to be generated or existing files, to the job.

The target array specifies all targets to which the documents that are described in input are distributed. All input documents are applied to all targets.

The batchId is an optional parameter that groups several jobs. When specifying batchId, you can use the batchStatus endpoint. It is extremely important to use the batchId parameter when you perform a batch job that creates many jobs.