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.

Changes

Changed in 2 of the 5 revisions of this API.14

    • api operation id JobRouter_AcceptJobAction removed and replaced with JobRouterOperations_AcceptJobOffer

      api-operation-id-removed

    • api tag Offers removed

      api-tag-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the optional response header x-ms-error-code removed for the status default

      optional-response-header-removed

    • api operation id JobRouterOperations_AcceptJobOffer removed and replaced with JobRouter_AcceptJobAction

      api-operation-id-removed

    • api tag Offers added

      api-tag-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog