v4

latestSwagger 2.02026-07-1333110154.1 KB

Accepts an offer to work on a job and returns a 409/Conflict if another agent accepted the job already.

Accepts an offer to work on a job and returns a 409/Conflict if another agent accepted the job already.

post/routing/workers/{workerId}/offers/{offerId}:accept

Path parameters

workerIdstring required

Id of a worker.

offerIdstring required

Id of an offer.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

The request has succeeded.

assignmentIdstring required

Id of job assignment that assigns a worker that has accepted an offer to a job.

jobIdstring required

Id of the job assigned.

workerIdstring required

Id of the worker that has been assigned this job.