Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Intoptional
companyidAssign the job to a company with this company idIntoptional

allocmode

The allocation mode. See ApiCodytTask for allocation mode values.Intoptional, default value is 0

sendproposal

If true will send the proposal to the worker.

booleanoptional, default value is false

proposalmessage

message that will be send with the proposal if set.

stringoptional, default is empty string

...

Code Block
languagejs
{
    "companyid": 73,
	"personid": 42,
	"allocamodeallocmode": 0,
	"sendproposal": true,
	"proposalmessage": ""
}

...

Code Block
languagejs
{
	"companyid": 73,
	"allocamodeallocmode": 0,
	"sendproposal": true,
	"proposalmessage": ""
}

...