Add data to job
POST/jobs/:jobId/data/
Add data (typically a document) to the job. The data is processed immediately by the workflow.
Use the startJob
request to signal that all data has been added to the job.
Note that the query parameter “url” must be used in conjunction with the “application/json” or “application/xml” content.
Request
Responses
- 201
- 400
- 404
- 409
- 415
- 427
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
Problem with option data