Docs
Assign Request to Resource
POST /procurement-resources/{resourceId}/requests/{requestId}
POST
/procurement-resources/{resourceId}/requests/{requestId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Links an advance request directly to a procurement resource. Only valid for resources with no schedule blocks — if the resource has blocks, link the request to a specific block instead.
Throws 400 if the resource has existing schedule blocks.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceId | Guid | Required | The ID of the procurement resource. Replace `{{resourceId}}` in the URL. |
| requestId | Guid | Required | The ID of the advance request to link. Replace `{{requestId}}` in the URL. |
Response
Returns 201 Created with an empty body on success.