Added
0.19.8 Filter contract bundles by member
8 days ago by ReadMe CLI
List contract bundles (GET /contract-bundles) now accepts an optional userId query parameter to return only the bundles that include that member:
GET /api/remote-health/v1/contract-bundles?userId=200345
- The filter matches against all members of a bundle — the policyholder and every dependant — so passing a dependant's
userIdreturns the bundle covering them. - Use the
userIdvalues returned in application-bundle and contract-bundle responses. - Combines with the existing
companyContractId,page, andsizeparameters. - An unmatched
userIdreturns an empty page (totalElements: 0); note that thedatafield is omitted from the payload when there are no results.
No changes to existing behavior — omitting userId returns the full listing as before.
