onboardingHistory abstract method

  1. @GET(Api.onboardingHistory)
Future<OnboardingHistory> onboardingHistory({
  1. @Query("serviceId") int serviceId = 6,
  2. @Query("createdBy") String createdBy = "",
  3. @Query("keyword") String? keyword,
  4. @Query("approvalStatus") int? approvalStatus,
  5. @Query("fromDate") String? fromDate,
  6. @Query("toDate") String? toDate,
  7. @Query("locationId4") String? locationId4,
  8. @Query("dealerType") String? dealerType,
  9. @Query("dealerGrade") String? dealerGrade,
  10. @Query("page") int page = 1,
  11. @Query("size") int size = 100,
  12. @Query("sort") String sort = "transactionDate",
  13. @Query("order") String order = "desc",
})

Implementation

@GET(Api.onboardingHistory)
Future<OnboardingHistory> onboardingHistory({
  @Query("serviceId") int serviceId = 6,
  @Query("createdBy") String createdBy = "",
  @Query("keyword") String? keyword,
  @Query("approvalStatus") int? approvalStatus,
  @Query("fromDate") String? fromDate,
  @Query("toDate") String? toDate,
  @Query("locationId4") String? locationId4,
  @Query("dealerType") String? dealerType,
  @Query("dealerGrade") String? dealerGrade,
  @Query("page") int page = 1,
  @Query("size") int size = 100,
  @Query("sort") String sort = "transactionDate",
  @Query("order") String order = "desc",
});