POST api/Invoice/UpdateInvoicesPaymentByCredits

Request Information

URI Parameters

None.

Body Parameters

InvoicePaymentSendingModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

invoiceIds

string

None.

Amounts

decimal number

None.

MoreAmount

integer

None.

Notes

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

PaymentModeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "invoiceIds": "sample string 2",
  "Amounts": 3.0,
  "MoreAmount": 4,
  "Notes": "sample string 5",
  "CreatedBy": 6,
  "CreatedDate": "2021-02-24T12:56:17.6992939+11:00",
  "PaymentModeID": 8
}

application/xml, text/xml

Sample:
<InvoicePaymentSendingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models">
  <Amounts>3</Amounts>
  <CreatedBy>6</CreatedBy>
  <CreatedDate>2021-02-24T12:56:17.6992939+11:00</CreatedDate>
  <CustomerId>1</CustomerId>
  <MoreAmount>4</MoreAmount>
  <Notes>sample string 5</Notes>
  <PaymentModeID>8</PaymentModeID>
  <invoiceIds>sample string 2</invoiceIds>
</InvoicePaymentSendingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.