POST api/Customers/InsertAccountAdjustment
Insert a customer account adjustment to alter the balance
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.clsAccountAdjustment| Name | Description | Type | Additional information |
|---|---|---|---|
| AdjustmentType | EskimoClassLibraries.clsAccountActivity+AccountActivityTypeEnum |
Required |
|
| AdjustmentDate | date |
Required |
|
| Amount | decimal number |
Required |
|
| 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:
{
"AdjustmentType": 0,
"AdjustmentDate": "2025-11-06T11:41:23.3884907+00:00",
"Amount": 2.0,
"CustomerID": "sample string 3"
}
application/xml, text/xml
Sample:
<clsAccountAdjustment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <AdjustmentDate>2025-11-06T11:41:23.3884907+00:00</AdjustmentDate> <AdjustmentType>OpeningBalance</AdjustmentType> <Amount>2</Amount> <CustomerID>sample string 3</CustomerID> </clsAccountAdjustment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EskimoClassLibraries.clsAccountActivityInfo| Name | 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-11-06T11:41:23.3884907+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-11-06T11:41:23.3884907+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>