POST api/invoiceAdvance/save

Request Information

URI Parameters

None.

Body Parameters

Collection of InvoiceAdvanceDTO
NameDescriptionTypeAdditional information
Id

integer

None.

InvoiceId

integer

None.

AdvanceId

integer

None.

Amount

decimal number

None.

DeductAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "InvoiceId": 1,
    "AdvanceId": 1,
    "Amount": 1.0,
    "DeductAmount": 1.0
  },
  {
    "Id": 1,
    "InvoiceId": 1,
    "AdvanceId": 1,
    "Amount": 1.0,
    "DeductAmount": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoiceAdvanceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.Invoices">
  <InvoiceAdvanceDTO>
    <AdvanceId>1</AdvanceId>
    <Amount>1</Amount>
    <DeductAmount>1</DeductAmount>
    <Id>1</Id>
    <InvoiceId>1</InvoiceId>
  </InvoiceAdvanceDTO>
  <InvoiceAdvanceDTO>
    <AdvanceId>1</AdvanceId>
    <Amount>1</Amount>
    <DeductAmount>1</DeductAmount>
    <Id>1</Id>
    <InvoiceId>1</InvoiceId>
  </InvoiceAdvanceDTO>
</ArrayOfInvoiceAdvanceDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>