Assign supplier

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.

URL

(PUT) projects/{projectid}/documents/{documentid}/tasks/{taskid}/suppliers

PARAMETERS

Token

The token obtained on connection

Required

projectid

The project.

Required

documentid

The unique document identifier.

Required

Tasked

The unique task identifier

Required

companyid

Assign the job to a supplier with this id.

Optional

personid

Assign the job to a worker with this person id.

Optional

sendproposal

Optional: If true will send the proposal to the worker.

Optional

proposalmessage

Optional: Optional message that will be send with the proposal if set.

Optional

 

RESULTS

None.





Copyright Wordbee - Buzzin' Outside the Box since 2008