pendingProductsApproval abstract method

  1. @POST("${Api.collectHistoryPending}/{type}/action:approval")
Future<ScanInHistoryApprovalResponse> pendingProductsApproval({
  1. @Header("X-User-Name") String xUserName = "",
  2. @Path("type") required String type,
  3. @Field("assetsTransactionId") required String assetsTransactionId,
  4. @Field("status") required String status,
  5. @Field("remarks") String? remarks,
})

Implementation

@POST("${Api.collectHistoryPending}/{type}/action:approval")
Future<ScanInHistoryApprovalResponse> pendingProductsApproval({
  @Header("X-User-Name") String xUserName = "",
  @Path("type") required String type,
  @Field("assetsTransactionId") required String assetsTransactionId,
  @Field("status") required String status,
  @Field("remarks") String? remarks,
});