To assign a supplier to the specific job.
...
The other parameters are included as a JSON object in the request body:
personid | Assign the job to a worker with this person id. | Int | optional |
companyid | Assign the job to a company with this company id | Int | optional |
allocmode | The allocation mode. See ApiCodytTask for allocation mode values. | Int | optional, default value is 0 |
sendproposal | If true will send the proposal to the worker. | boolean | optional, default value is false |
proposalmessage | message that will be send with the proposal if set. | string | optional, default is empty string |
...
Example: Assign the job to a worker with personid
42, the person is an in-house worker
Code Block | ||
---|---|---|
| ||
{
"companyid": 73,
"personid": 42,
"allocamode": 0,
"sendproposal": true,
"proposalmessage": ""
} |
...