A non-quarterly period is rejected with a clear error
Verify that the new rolling-totals endpoint accepts quarterly periods only, and rejects full-year and half-year formats with HTTP 400 instead of returning a wrong or partial total.
Test data
Any valid QA account. The periods 2025FY and 2026H1 to reject, and 2026Q3 as the control.
Steps
- Get an access token for the analyst user.
- Send
GET /api/v1/rolling-totals?account=<id>&metric=revenue&period=2025FY. - Record the HTTP status and the response body.
- Send the same request with
period=2026H1and record the result. - Send the control request with
period=2026Q3.
Expected result
Both 2025FY and 2026H1 return HTTP 400 with a message that only quarterly periods are accepted. The 2026Q3 control returns HTTP 200, and no request returns a 500 error.
Gap check by AQENone. The persona, the data and the checks are all known, so an agent can run it on its own.