accept_job_offers
Creates, updates, deletes, gets or lists an accept_job_offers resource.
Overview
| Name | accept_job_offers |
| Type | Resource |
| Id | azure.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
accept_job_offer | exec | worker_id, offer_id, endpoint | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
offer_id | string | Id of an offer. Required. |
worker_id | string | Id of a worker. Required. |
Lifecycle Methods
- accept_job_offer
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
;