To create a job for a specific project.
URL
(PUT) projects/{projectid}/jobs
PARAMETERS
|
token |
The token obtained on connection |
Required |
|
projectid |
The project identifier |
Required |
|
task |
Task code for added job. See ApiProjectJob for task code values. |
Required |
|
targetlanguage |
The target language for the job. Example: "targetlanguage=en" |
Required |
|
reference |
Optional: A reference for the job. |
Optional |
|
documents |
Optional: A comma separated list of documents id. If set, the documents will be added to the job. Example: "documents=2011,2020,2024" |
Optional |
|
instructions |
Optional: Instructions text for the job. |
Optional |
|
comments |
Optional: Comments for the job. |
Optional |
|
deadline |
Optional: Dead line date for the job. |
Optional |
|
refmaterialaccess |
Optional: Indicates whether the reference material folder of the job is visible. The possible values are: 0 - No access: Reference material is not visible in job and cannot be downloaded by suppliers 1 - Read-only: Reference material is accessible in job. Suppliers can download files. 2 - Read/Write: Reference material is accessible in job. Suppliers can download and upload files. |
Optional |
RESULTS
It returns the id of the created job:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2147483647</int>