POST api/CashInOut

Request Information

URI Parameters

None.

Body Parameters

CashInOut
NameDescriptionTypeAdditional information
CashInOutId

integer

None.

BranchId

integer

None.

StaffId

integer

None.

Type

integer

None.

Amount

decimal number

None.

Remarks

string

None.

CashInOutTime

date

None.

OperationId

integer

None.

ClientId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CashInOutId": 1,
  "BranchId": 2,
  "StaffId": 3,
  "Type": 4,
  "Amount": 5.0,
  "Remarks": "sample string 6",
  "CashInOutTime": "2024-05-12T11:42:30.7843501+08:00",
  "OperationId": 8,
  "ClientId": "sample string 9"
}

text/xml

Sample:
<CashInOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models">
  <Amount>5</Amount>
  <BranchId>2</BranchId>
  <CashInOutId>1</CashInOutId>
  <CashInOutTime>2024-05-12T11:42:30.7843501+08:00</CashInOutTime>
  <ClientId>sample string 9</ClientId>
  <OperationId>8</OperationId>
  <Remarks>sample string 6</Remarks>
  <StaffId>3</StaffId>
  <Type>4</Type>
</CashInOut>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CashInOut'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.