Docs

Set Resource Approval

POST /advanceRequests/{advanceRequestId}/resourceApproval

POST/advanceRequests/{advanceRequestId}/resourceApproval

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Sets the resource-side approval decision on an advance request. This represents approval from the resource provider side (e.g., confirming that a requested resource can be supplied).

If the request is already linked to a procurement (procurementId is set), this call will fail — procurement-linked requests are considered finalized and their approval status cannot be changed.

When approval changes, if the request's advance module has task tracking enabled, the linked task is automatically moved to the Needs Review status and parent task statuses are recalculated.

Returns the updated approval state for both advanceApproved and resourceApproved.

Event scoping: These endpoints do not include {eventId} in the URL. The event is determined automatically from your x-Event-Token — the API uses it to know which event's data to return. Ensure you have a valid event token before making any calls in this folder.

Path Parameters

FieldTypeRequiredDescription
advanceRequestIdGuidRequiredThe ID of the advance request to approve or reject.

Request Body

FieldTypeRequiredDescription
isApprovedbool \Optional✔️
reasonstring \Optional

Example Response

{
  "advanceApproved": true,
  "resourceApproved": true
}

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Advance request not found for this event.
BAD_REQUEST400Request is linked to a procurement and cannot be changed.