Create new job
Create a new job to be processed with the given workflow
and profile
.
After the job has been created, data (typically documents) can be added using the addData
request.
All created jobs should be deleted using the deleteJob
request.
Query Parameters
The name of the workflow.
If no workflow is specified, the default workflow of the service is used.
The name of the profile.
If no profile is specified, the default profile of the workflow is used.
The name of the job.
This value may be used by the workflow, e.g. to name the output file when merging multiple inputs.
Request Body
Body of the createJob request
- Array [
DOC.PASSWORD
: Password used for password protected files. This option can be added multiple times, where all passwords are tried. The list of passwords is also used to open embedded and/or attached files.- ]
Option name
The list of supported options depends on the profile
used. Common names are:
The option's value.
Note that the value must match the type required by the option. Otherwise workflow processing will abort with
an error code option
.
Request Body
Body of the createJob request
- Array [
DOC.PASSWORD
: Password used for password protected files. This option can be added multiple times, where all passwords are tried. The list of passwords is also used to open embedded and/or attached files.- ]
Option name
The list of supported options depends on the profile
used. Common names are:
The option's value.
Note that the value must match the type required by the option. Otherwise workflow processing will abort with
an error code option
.
- 201
- 400
- 415
- 503
Successful response to the createJob and getJobInfo requests
Schema
Unique ID of the job.
The job ID can be used to control the job, e.g. start it, as well as identify corresponding messages in the service log file. Therefore it is highly recommended to log the job ID in the client log file.
status object required
Possible values: [creating
, pending
, processing
, completed
]
A message describing the job's status in more detail. Example: "Converting 'input.pdf' to PDF/A."
{
"jobId": "string",
"status": {
"code": "creating",
"message": "string"
}
}
Schema
Unique ID of the job.
The job ID can be used to control the job, e.g. start it, as well as identify corresponding messages in the service log file. Therefore it is highly recommended to log the job ID in the client log file.
status object required
Possible values: [creating
, pending
, processing
, completed
]
A message describing the job's status in more detail. Example: "Converting 'input.pdf' to PDF/A."
<root>
<jobId>string</jobId>
<status>
<code>creating</code>
<message>string</message>
</status>
</root>
- Request could not be parsed
- The options are not valid JSON
- The requested workflow or profile does not exist
Schema
A URI reference that identifies the problem type. Note that this URI cannot be dereferenced.
A short, human-readable summary of the problem type.
The HTTP status code.
A human-readable explanation specific to this occurrence of the problem.
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string"
}
Schema
A URI reference that identifies the problem type. Note that this URI cannot be dereferenced.
A short, human-readable summary of the problem type.
The HTTP status code.
A human-readable explanation specific to this occurrence of the problem.
<root>
<type>string</type>
<title>string</title>
<status>0</status>
<detail>string</detail>
</root>
The content type is neither application/json nor application/xml
Too many jobs.
Schema
A URI reference that identifies the problem type. Note that this URI cannot be dereferenced.
A short, human-readable summary of the problem type.
The HTTP status code.
A human-readable explanation specific to this occurrence of the problem.
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string"
}
Schema
A URI reference that identifies the problem type. Note that this URI cannot be dereferenced.
A short, human-readable summary of the problem type.
The HTTP status code.
A human-readable explanation specific to this occurrence of the problem.
<root>
<type>string</type>
<title>string</title>
<status>0</status>
<detail>string</detail>
</root>