POST api/ReversalApi/PartialPaidReversalAmount

Get the reversal amount of a partially paid invoice.

Request Information

URI Parameters

None.

Body Parameters

Voucher number or record id of invoice.

VoucherIdentification
NameDescriptionTypeAdditional information
Id

Voucher record id, must be present if Number is not present

integer

None.

Number

Voucher number, must be present if Id is not present

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Number": "sample string 2"
}

application/xml, text/xml

Sample:
<VoucherIdentification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/E3k.Web.CustomerPortal.Models.Api">
  <Id>1</Id>
  <Number>sample string 2</Number>
</VoucherIdentification>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VoucherIdentification'.

Response Information

Resource Description

Reversal amount of invoice.

decimal number

Response Formats

application/json, text/json

Sample:
1.0

application/xml, text/xml

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