To assign a supplier to the job. You can assign directly a person with his id or a company with the company id. If the person is not a inhouse worker, you need to specify the companyid as well. To assign the job to a supplier company only set the companyid. You can also remove any assignment.
Example: ".../suppliers?companyid=10&token=..." Will set the job for the supplier with company id = 10. Then any of the worker from this company can pickup the job
.".../suppliers?personid=2&token=..." Will set the job for the worker with person id = 2. This worker is a inhouse worker
.".../suppliers?companyid=5&personid=11&token=..." Will assign the job for the worker from supplier with company id = 5 and the person id = 11
.".../suppliers?token=..." Will clear the job from any assignment.
The token obtained on connection
The unique document identifier.
The unique task identifier
Assign the job to a supplier with this id.
Assign the job to a worker with this person id.
Optional: If true will send the proposal to the worker.
Optional: Optional message that will be send with the proposal if set.