Я создал API, который хочу протестировать с помощью почтальона.Мой API принимает много параметров, и один параметр - HAshSet.Я не знаю, как передать параметр HashSet с помощью почтальона.Пожалуйста, помогите мне.Заранее спасибо
Вот мой код:
@PutMapping
@ApiOperation(value = "collectMultiInvoices", nickname = "collectMultiInvoices")
public BaseResponse collectAmountMultipleInvoices(@RequestParam(value = "invoice_id") HashSet<Integer> invoiceIds,
@RequestParam("date") String _date,
@RequestParam(value = "cash", required = false) Float cashAmount,
@RequestParam(value = "chequeAmount", required = false) Float chequeAmount,
@RequestParam(value = "chequeNumber", required = false) String chequeNumber,
@RequestParam(value = "chequeDate", required = false) String _chequeDate,
@RequestParam(value = "chequeImage", required = false) MultipartFile chequeImage,
@RequestParam(value = "chequeBankName", required = false) String chequeBankName,
@RequestParam(value = "chequeBankBranch", required = false) String chequeBankBranch,
@RequestParam(value = "otherPaymentAmount", required = false) Float otherPaymentAmount,
@RequestParam(value = "otherPaymentType", required = false) Integer otherPaymentType,
@RequestParam(value = "otherPaymentTransactionId", required = false) String otherPaymentTransactionId,
@RequestParam(value = "discountPercentorAmount", required = false) String discountPercentorAmount,
@RequestParam(value = "discountId", required = false) String discountId) throws AppException.RequestFieldError, AppException.CollectionAmountMoreThanOutstanding {
//method implementation
}