POST api/Customers/InsertAccountPayment
Insert a customer account payment
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.clsAccountPaymentBaseName | Description | Type | Additional information |
---|---|---|---|
PaymentDate | date |
Required |
|
Amount | decimal number |
Required Range: inclusive between 0.01 and 7.92281625142643E+28 |
|
CustomerID | string |
Required Matching regular expression pattern: \d{3}[-]\d{6} String length: inclusive between 10 and 10 |
Request Formats
application/json, text/json
Sample:
{ "PaymentDate": "2025-01-18T03:55:51.2434642+00:00", "Amount": 2.0, "CustomerID": "sample string 3" }
application/xml, text/xml
Sample:
<clsAccountPaymentBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <Amount>2</Amount> <CustomerID>sample string 3</CustomerID> <PaymentDate>2025-01-18T03:55:51.2434642+00:00</PaymentDate> </clsAccountPaymentBase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EskimoClassLibraries.clsAccountActivityInfoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EntryIndex | integer |
None. |
|
ActivityTypeText | string |
None. |
|
ActivityType | EskimoClassLibraries.clsAccountActivity+AccountActivityTypeEnum |
Required |
|
ActivityDate | date |
Required |
|
BalanceBefore | decimal number |
None. |
|
Amount | decimal number |
Required |
|
BalanceAfter | decimal number |
None. |
|
CustomerID | string |
Required Matching regular expression pattern: \d{3}[-]\d{6} String length: inclusive between 10 and 10 |
|
Till | integer |
None. |
|
Receipt | integer |
None. |
|
InvoiceId | integer |
None. |
|
WebOrderId | integer |
None. |
|
OrderExternalId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "EntryIndex": 2, "ActivityTypeText": "OpeningBalance", "ActivityType": 0, "ActivityDate": "2025-01-18T03:55:51.2434642+00:00", "BalanceBefore": 4.0, "Amount": 5.0, "BalanceAfter": 6.0, "CustomerID": "sample string 7", "Till": 1, "Receipt": 1, "InvoiceId": 1, "WebOrderId": 1, "OrderExternalId": "sample string 8" }
application/xml, text/xml
Sample:
<clsAccountActivityInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <ActivityDate>2025-01-18T03:55:51.2434642+00:00</ActivityDate> <ActivityType>OpeningBalance</ActivityType> <Amount>5</Amount> <BalanceAfter>6</BalanceAfter> <BalanceBefore>4</BalanceBefore> <CustomerID>sample string 7</CustomerID> <InvoiceId>1</InvoiceId> <OrderExternalId>sample string 8</OrderExternalId> <Receipt>1</Receipt> <Till>1</Till> <WebOrderId>1</WebOrderId> <EntryIndex>2</EntryIndex> <Id>1</Id> </clsAccountActivityInfo>