Add data to job
POST/jobs/:jobId/data/
Add data such as documents, images, and other accepted files for processing.
Use the query parameter "url"
with
the "application/json"
or "application/xml"
content.
When you add document options, follow the correct JSON structure.
Example: Using the DOC.PASSWORD
option:
[
{
"name": "DOC.PASSWORD",
"value": "Replace with your password as a string."
}
]
After you add all data to the job and send the addData
request,
send the startJob
API request.
Request
Responses
- 201
- 400
- 404
- 409
- 415
Successful response to the addData request
- Request could not be parsed
- The data is missing
- The data's filename is missing
- The options are not valid JSON/XML
- The file could not be downloaded from the provided URL.
The job with the specified ID could not be found.
The job has already been started or canceled.
- The content type is not multipart/form-data, application/json or application/xml
- The content type of the options field in the multipart/form-data content is not application/json