Referral API Client
Component Detail
Infrastructure
low complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Flutter REST API client providing typed access to the referral summary and listing endpoints. Part of the shared HTTP client layer but configured with referral-specific endpoint constants and response models.
referral-api-client
Responsibilities
- Call GET /api/v1/referrals/summary to retrieve status counts
- Call GET /api/v1/referrals with pagination and filter params
- Deserialize API responses into typed Referral and ReferralSummary models
Interfaces
fetchSummary(token: String): Future<ReferralSummaryDto>
fetchReferrals(token: String, params: ReferralQueryParams): Future<PagedReferralDto>