onboardingHistory abstract method

  1. @GET.new(Api.partnerList)
Future<OnboardingHistory> onboardingHistory({
  1. @Query.new("createdBy") String? createdBy,
  2. @Query.new("levelId") String? levelId,
  3. @Query.new("keyword") String? keyword,
  4. @Query.new("listAll") bool? listAll,
  5. @Query.new("approvalStatus") int? approvalStatus,
  6. @Query.new("status") int? status,
  7. @Query.new("fromDate") String? fromDate,
  8. @Query.new("toDate") String? toDate,
  9. @Query.new("locationId1") String? locationId1,
  10. @Query.new("locationId2") String? locationId2,
  11. @Query.new("locationId3") String? locationId3,
  12. @Query.new("locationId4") String? locationId4,
  13. @Query.new("dealerCategory") String? dealerType,
  14. @Query.new("dealerGrade") String? dealerGrade,
  15. @Query.new("parentId") String? parentId,
  16. @Query.new("page") int page = 1,
  17. @Query.new("size") int size = 10,
  18. @Query.new("sort") String sort = "createdDate",
  19. @Query.new("order") String order = "desc",
  20. @Header.new("X-UserId") String xUserId = "",
})

Implementation

@GET(Api.partnerList)
Future<OnboardingHistory> onboardingHistory({
  // @Query("serviceId") int serviceId = 6,
  @Query("createdBy") String? createdBy,
  @Query("levelId") String? levelId,
  @Query("keyword") String? keyword,
  @Query("listAll") bool? listAll,
  @Query("approvalStatus") int? approvalStatus,
  @Query("status") int? status,
  @Query("fromDate") String? fromDate,
  @Query("toDate") String? toDate,
  @Query("locationId1") String? locationId1,
  @Query("locationId2") String? locationId2,
  @Query("locationId3") String? locationId3,
  @Query("locationId4") String? locationId4,
  @Query("dealerCategory") String? dealerType,
  @Query("dealerGrade") String? dealerGrade,
  @Query("parentId") String? parentId,
  @Query("page") int page = 1,
  @Query("size") int size = 10,
  @Query("sort") String sort = "createdDate",
  @Query("order") String order = "desc",
  @Header("X-UserId") String xUserId = "",
});