POST api/sale/payment/allocation/createedit
Request Information
URI Parameters
None.
Body Parameters
SalePaymentAllocationCreateEditView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IsCreate | boolean |
None. |
|
| AllocatedAmount | decimal number |
None. |
|
| IsSelected | boolean |
None. |
|
| InvoiceId | integer |
None. |
|
| InvoiceInstallmentId | integer |
None. |
|
| InvoiceType | InvoiceType |
None. |
|
| InvoiceRemainingAmount | decimal number |
None. |
|
| InvoiceNumber | integer |
None. |
|
| SalePaymentId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IsCreate": true,
"AllocatedAmount": 3.0,
"IsSelected": true,
"InvoiceId": 5,
"InvoiceInstallmentId": 1,
"InvoiceType": 0,
"InvoiceRemainingAmount": 6.0,
"InvoiceNumber": 7,
"SalePaymentId": 8
}
application/xml, text/xml
Sample:
<SalePaymentAllocationCreateEditView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.SalePaymentView"> <AllocatedAmount>3</AllocatedAmount> <Id>1</Id> <InvoiceId>5</InvoiceId> <InvoiceInstallmentId>1</InvoiceInstallmentId> <InvoiceNumber>7</InvoiceNumber> <InvoiceRemainingAmount>6</InvoiceRemainingAmount> <InvoiceType>Invoice</InvoiceType> <IsCreate>true</IsCreate> <IsSelected>true</IsSelected> <SalePaymentId>8</SalePaymentId> </SalePaymentAllocationCreateEditView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.