validateAssetsV2 abstract method

  1. @GET(Api.validateAssetsV2)
Future<StockDeliveryScanModel> validateAssetsV2({
  1. @Query("assetStartRange") String? assetStartRange,
  2. @Query("assetEndRange") String? assetEndRange,
  3. @Query("perPageCount") int perPageCount = 10,
  4. @Query("pageNo") int pageNo = 1,
  5. @Query("sort") String sort = "id",
  6. @Query("keyword") String? keyword,
  7. @Query("assetIds") String? assetIds,
  8. @Query("action") required String action,
  9. @Query("fromPartnerId") required String fromPartnerId,
  10. @Query("transferOrderId") String? transferOrderId,
  11. @Header("X-UserId") String xUserId = "",
  12. @Header("content-type") String type = "application/json",
})

Implementation

@GET(Api.validateAssetsV2)
Future<StockDeliveryScanModel> validateAssetsV2({
  @Query("assetStartRange") String? assetStartRange,
  @Query("assetEndRange") String? assetEndRange,
  @Query("perPageCount") int perPageCount = 10,
  @Query("pageNo") int pageNo = 1,
  @Query("sort") String sort = "id",
  @Query("keyword") String? keyword,
  @Query("assetIds") String? assetIds,
  @Query("action") required String action,
  @Query("fromPartnerId") required String fromPartnerId,
  @Query("transferOrderId") String? transferOrderId,
  @Header("X-UserId") String xUserId = "",
  @Header("content-type") String type = "application/json",
});