bankReceiptUpload abstract method
- @POST("${Api.bankReceiptUpload}/{resourceType}/store/{storeType}")
- @MultiPart()
Future<BankReceiptUploadModel>
bankReceiptUpload(
{ - @Header("X-User-Id") String xUserId = "",
- @Header("X-User-Name") String xUserName = "",
- @Header("Content-Type") String type = "application/json",
- @Path("resourceType") required String resourceType,
- @Path("storeType") required String storeType,
- @Part(name: "file") required File file,
- @Part(name: "sourceSystem") required String sourceSystem,
})
Implementation
@POST("${Api.bankReceiptUpload}/{resourceType}/store/{storeType}")
@MultiPart()
Future<BankReceiptUploadModel> bankReceiptUpload({
@Header("X-User-Id") String xUserId = "",
@Header("X-User-Name") String xUserName = "",
@Header("Content-Type") String type = "application/json",
@Path("resourceType") required String resourceType,
@Path("storeType") required String storeType,
@Part(name: "file") required File file,
@Part(name: "sourceSystem") required String sourceSystem,
});