Back

POST /api/v1/vault/reports

Route source: app/api/v1/vault/reports/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.

POST/api/v1/vault/reports

Access

The session variable in examples is a placeholder. The browser supplies the real session cookie.

Request

JSON body follows validation in route source

The accepted fields and validation are implemented in app/api/v1/vault/reports/route.ts.

Synthetic curl example
curl -i -X POST 'https://portal.rfi-irfos.com/api/v1/vault/reports' \
  -H "Cookie: $PORTAL_SESSION_COOKIE" \
  -H 'Content-Type: application/json' \
  --data-binary @request.json

Response

The handler returns JSON. Response fields are defined in the linked route source.

200 201 401 403 413 422 429 500 503

The linked source file contains the authoritative field validation and response structure.

Error codes

  • 401 · Session or credentials are missing or invalid
  • 403 · Role or access scope is insufficient
  • 413 · Request body exceeds the size limit
  • 422 · Route error; details are in the handler.
  • 429 · Request limit reached
  • 500 · Internal handler error
  • 503 · Service or database is unavailable

Code evidence

app/api/v1/vault/reports/route

Local index↑ ↓ · Enter · Esc