Docs

Assign Request to Resource

POST /procurement-resources/{resourceId}/requests/{requestId}

POST/procurement-resources/{resourceId}/requests/{requestId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour 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

FieldTypeRequiredDescription
resourceIdGuidRequiredThe ID of the procurement resource. Replace `{{resourceId}}` in the URL.
requestIdGuidRequiredThe ID of the advance request to link. Replace `{{requestId}}` in the URL.

Response

Returns 201 Created with an empty body on success.