Skip to main content

accept_job_offers

Creates, updates, deletes, gets or lists an accept_job_offers resource.

Overview

Nameaccept_job_offers
TypeResource
Idazure.communication_job_router.accept_job_offers

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
accept_job_offerexecworker_id, offer_id, endpointAccepts 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
offer_idstringId of an offer. Required.
worker_idstringId of a worker. Required.

Lifecycle Methods

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.

EXEC azure.communication_job_router.accept_job_offers.accept_job_offer 
@worker_id='{{ worker_id }}' --required,
@offer_id='{{ offer_id }}' --required,
@endpoint='{{ endpoint }}' --required
;