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

Changed on

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

Request

  • Base URL
    {endpoint}
  • Auth
    OAuth 2
    Authorization codehttps://login.microsoftonline.com/common/oauth2/authorize
    Token URLhttps://login.microsoftonline.com/common/oauth2/token
    Scopeshttps://communication.azure.com/.default

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

    • info

      api operation id JobRouter_AcceptJobAction removed and replaced with JobRouterOperations_AcceptJobOffer

    • info

      api tag Offers removed

    • warning

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

    2 more changes in this revision