POST api/countersession/closing/insert
Request Information
URI Parameters
None.
Body Parameters
InsertCounterClosinggRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CounterSessionID | integer |
None. |
|
| BranchID | integer |
None. |
|
| UserID | integer |
None. |
|
| CounterID | integer |
None. |
|
| ClosingDate | date |
None. |
|
| OpeningCash | decimal number |
None. |
|
| VNo | string |
None. |
|
| TotalCashSale | decimal number |
None. |
|
| TotalCashReceipt | decimal number |
None. |
|
| TotalCashPayment | decimal number |
None. |
|
| TotalCashPurchase | decimal number |
None. |
|
| CashClosingBalance | decimal number |
None. |
|
| ActualCashInCounter | decimal number |
None. |
|
| Difference | decimal number |
None. |
|
| Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CounterSessionID": 1,
"BranchID": 2,
"UserID": 3,
"CounterID": 4,
"ClosingDate": "2026-10-15T11:11:40.0577668-07:00",
"OpeningCash": 6.0,
"VNo": "sample string 7",
"TotalCashSale": 8.0,
"TotalCashReceipt": 9.0,
"TotalCashPayment": 10.0,
"TotalCashPurchase": 11.0,
"CashClosingBalance": 12.0,
"ActualCashInCounter": 13.0,
"Difference": 14.0,
"Remarks": "sample string 15"
}
application/xml, text/xml
Sample:
<InsertCounterClosinggRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers"> <ActualCashInCounter>13</ActualCashInCounter> <BranchID>2</BranchID> <CashClosingBalance>12</CashClosingBalance> <ClosingDate>2026-10-15T11:11:40.0577668-07:00</ClosingDate> <CounterID>4</CounterID> <CounterSessionID>1</CounterSessionID> <Difference>14</Difference> <OpeningCash>6</OpeningCash> <Remarks>sample string 15</Remarks> <TotalCashPayment>10</TotalCashPayment> <TotalCashPurchase>11</TotalCashPurchase> <TotalCashReceipt>9</TotalCashReceipt> <TotalCashSale>8</TotalCashSale> <UserID>3</UserID> <VNo>sample string 7</VNo> </InsertCounterClosinggRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.