POST api/Operation
Request Information
URI Parameters
None.
Body Parameters
Operation| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchId | integer |
None. |
|
| OperationId | integer |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| StartBy | string |
None. |
|
| EndBy | string |
None. |
|
| OpeningCash | decimal number |
None. |
|
| CashInDrawer | decimal number |
None. |
|
| CashIn | decimal number |
None. |
|
| CashOut | decimal number |
None. |
|
| CashBankIn | decimal number |
None. |
|
| CashCount | decimal number |
None. |
|
| CashSubmit | decimal number |
None. |
|
| Status | string |
None. |
|
| CashPayment | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"BranchId": 1,
"OperationId": 2,
"StartTime": "2025-11-18T00:17:27.3302333+08:00",
"EndTime": "2025-11-18T00:17:27.3302333+08:00",
"StartBy": "sample string 5",
"EndBy": "sample string 6",
"OpeningCash": 7.0,
"CashInDrawer": 8.0,
"CashIn": 9.0,
"CashOut": 10.0,
"CashBankIn": 11.0,
"CashCount": 12.0,
"CashSubmit": 13.0,
"Status": "sample string 14",
"CashPayment": 15.0
}
text/xml
Sample:
<Operation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models"> <BranchId>1</BranchId> <CashBankIn>11</CashBankIn> <CashCount>12</CashCount> <CashIn>9</CashIn> <CashInDrawer>8</CashInDrawer> <CashOut>10</CashOut> <CashPayment>15</CashPayment> <CashSubmit>13</CashSubmit> <EndBy>sample string 6</EndBy> <EndTime>2025-11-18T00:17:27.3302333+08:00</EndTime> <OpeningCash>7</OpeningCash> <OperationId>2</OperationId> <StartBy>sample string 5</StartBy> <StartTime>2025-11-18T00:17:27.3302333+08:00</StartTime> <Status>sample string 14</Status> </Operation>
application/x-www-form-urlencoded
Sample:
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. |