POST api/Counter/updateOpeningBalance
Request Information
URI Parameters
None.
Body Parameters
CounterUpdateOpeningBalanceClass| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchID | globally unique identifier |
None. |
|
| CounterID | globally unique identifier |
None. |
|
| UserID | globally unique identifier |
None. |
|
| OpeningBalance | decimal number |
None. |
|
| OpeningBalanceDateTime | date |
Data type: DateTime |
Request Formats
application/json, text/json
Sample:
{
"BranchID": "9f57be07-3f7b-493d-9a33-05cd209e7975",
"CounterID": "a01a9284-d12d-420b-b55d-f3bc125c82ab",
"UserID": "46142334-c5f9-4cea-9b22-e85cebb589ad",
"OpeningBalance": 4.0,
"OpeningBalanceDateTime": "2026-01-27T16:43:22.5587063+05:30"
}
application/xml, text/xml
Sample:
<CounterUpdateOpeningBalanceClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <BranchID>9f57be07-3f7b-493d-9a33-05cd209e7975</BranchID> <CounterID>a01a9284-d12d-420b-b55d-f3bc125c82ab</CounterID> <OpeningBalance>4</OpeningBalance> <OpeningBalanceDateTime>2026-01-27T16:43:22.5587063+05:30</OpeningBalanceDateTime> <UserID>46142334-c5f9-4cea-9b22-e85cebb589ad</UserID> </CounterUpdateOpeningBalanceClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |