Create Job Offer
Overview
Creates a job offer and optionally offers it to resources
Category: Offers
Use this action to create a job offer for a job and optionally offer it to one or more resources in a single operation. A JobOffer is the parent record. Each entry in ResourceIds creates a ResourceJobOffer linking that resource to the offer. Resources can then accept or decline the offer. Job offers must be enabled for the tenant.
Request
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
JobId |
string | Yes | The ID of the job to create an offer for | 0014ccb7-73ad-40e1-9282-2c492a0f313a |
ResourceRequirementId |
string | No | The ID of the resource requirement this offer is for | 00148d32-10ef-4264-adfe-0ff3ece68d92 |
ResourceIds |
array of string | No | Resource IDs to offer the job to. Each creates a ResourceJobOffer record. | ["001a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c","002a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"] |
Response
This action’s output is available as $createJobOffer in JSONata expressions. See Response format for the standard result.data / result.errors structure and error handling patterns.
| Field | Type | Description |
|---|---|---|
result.data.JobOfferId |
string | The UID of the created job offer |
result.data.ResourceJobOfferIds |
array of string | The UIDs of the created resource job offers. May be a subset of ResourceIds if some failed. |
Example output:
{
"JobOfferId": "0014ccb7-73ad-40e1-9282-2c492a0f313a",
"ResourceJobOfferIds": [
"001a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
]
}
Feedback
Was this page helpful?