POST api/SystemApi/AddCustomerPaymentHistory
Request Information
URI Parameters
None.
Body Parameters
CustomerPaymentHistory| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Customer_Id | integer |
None. |
|
| Amount | decimal number |
None. |
|
| AmountBefor | decimal number |
None. |
|
| AmountAfter | decimal number |
None. |
|
| Debit | boolean |
None. |
|
| Date | date |
None. |
|
| User_Id | integer |
None. |
|
| Drawer_Id | integer |
None. |
|
| IsCustomer | boolean |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Customer_Id": 2,
"Amount": 3.1,
"AmountBefor": 4.1,
"AmountAfter": 5.1,
"Debit": true,
"Date": "2025-12-22T13:02:10.6410393-08:00",
"User_Id": 8,
"Drawer_Id": 9,
"IsCustomer": true,
"Note": "sample string 11"
}
application/xml, text/xml
Sample:
<CustomerPaymentHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlsamanodyPosApi.Models"> <Amount>3.1</Amount> <AmountAfter>5.1</AmountAfter> <AmountBefor>4.1</AmountBefor> <Customer_Id>2</Customer_Id> <Date>2025-12-22T13:02:10.6410393-08:00</Date> <Debit>true</Debit> <Drawer_Id>9</Drawer_Id> <Id>1</Id> <IsCustomer>true</IsCustomer> <Note>sample string 11</Note> <User_Id>8</User_Id> </CustomerPaymentHistory>
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.