POST api/Invoice/SaveInvoicePayment
Request Information
URI Parameters
None.
Body Parameters
JsonInvoicePaymentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
InvoiceId | integer |
None. |
|
CurrencyId | integer |
None. |
|
Amount | decimal number |
None. |
|
TransactionNumber | string |
None. |
|
Remark | string |
None. |
|
PaymentDate | date |
None. |
|
Currency | string |
None. |
|
CurrencySymbole | string |
None. |
|
CardNumber | string |
None. |
|
ReferenceNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "InvoiceId": 2, "CurrencyId": 3, "Amount": 4.0, "TransactionNumber": "sample string 5", "Remark": "sample string 6", "PaymentDate": "2024-04-26T01:40:12.031566+03:00", "Currency": "sample string 8", "CurrencySymbole": "sample string 9", "CardNumber": "sample string 10", "ReferenceNumber": "sample string 11" }
application/xml, text/xml
Sample:
<JsonInvoicePayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMSLibrary.Models"> <Amount>4</Amount> <CardNumber>sample string 10</CardNumber> <Currency>sample string 8</Currency> <CurrencyId>3</CurrencyId> <CurrencySymbole>sample string 9</CurrencySymbole> <Id>1</Id> <InvoiceId>2</InvoiceId> <PaymentDate>2024-04-26T01:40:12.031566+03:00</PaymentDate> <ReferenceNumber>sample string 11</ReferenceNumber> <Remark>sample string 6</Remark> <TransactionNumber>sample string 5</TransactionNumber> </JsonInvoicePayment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />