POST api/InvoiceAndFinance/SaveInvoicePayment
Request Information
URI Parameters
None.
Body Parameters
InvoicePaymentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentId | integer |
None. |
|
| ProviderId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentDate | date |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentId": 1,
"ProviderId": 1,
"Amount": 2.0,
"PaymentDate": "2026-05-01T21:11:18.3625396+00:00",
"Description": "sample string 4"
}
text/html
Sample:
{"PaymentId":1,"ProviderId":1,"Amount":2.0,"PaymentDate":"2026-05-01T21:11:18.3625396+00:00","Description":"sample string 4"}
application/xml, text/xml
Sample:
<InvoicePaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"> <Amount>2</Amount> <Description>sample string 4</Description> <PaymentDate>2026-05-01T21:11:18.3625396+00:00</PaymentDate> <PaymentId>1</PaymentId> <ProviderId>1</ProviderId> </InvoicePaymentModel>
multipart/form-data
Sample:
<InvoicePaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><Amount>2</Amount><Description>sample string 4</Description><PaymentDate>2026-05-01T21:11:18.3625396+00:00</PaymentDate><PaymentId>1</PaymentId><ProviderId>1</ProviderId></InvoicePaymentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |