Improved
v0.17.0 Appications & contract bundles
2 months ago by Jakub Such
New Endpoints
Company Contracts (Experimental)
- GET /api/remote-health/v1/company-contracts — Paginated listing of company contracts with ID, start/end date, and status.
Draft Applications (Experimental)
- GET /api/remote-health/v1/draft-applications — Paginated listing of pending draft applications (invites not yet converted to application bundles).
Application Bundles (Experimental)
- GET /api/remote-health/v1/application-bundles — Paginated listing of application bundles with applicant details and application statuses.
- POST /api/remote-health/v1/application-bundles — Create new application bundles with one or more applicants.
- GET /api/remote-health/v1/application-bundles/id — Retrieve a specific application bundle.
Contract Bundles (Experimental)
- GET /api/remote-health/v1/contract-bundles — Paginated listing of contract bundles with full insured member details (policy holder, dependants), their insurance contracts, coverage periods, and cost breakdowns. Supports optional companyContractId filter (defaults to current active contract).
Pagination Standard
All new listing endpoints follow a consistent pagination pattern:
- Query params: page (0-based, default 0), size (1-100, default 50)
- Response: data, page, size, totalElements, totalPages, hasMore .
- Results ordered by ID descending (newest first)
