POST api/Invoice/AddCashReciept

Request Information

URI Parameters

None.

Body Parameters

CashRecieptAddDto
NameDescriptionTypeAdditional information
ShopId

integer

None.

UserId

integer

None.

Amount

decimal number

None.

PaymentMethodId

integer

None.

Remark

string

None.

ChequeNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ShopId": 1,
  "UserId": 2,
  "Amount": 3.0,
  "PaymentMethodId": 4,
  "Remark": "sample string 5",
  "ChequeNumber": "sample string 6"
}

application/xml, text/xml

Sample:
<CashRecieptAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Amount>3</Amount>
  <ChequeNumber>sample string 6</ChequeNumber>
  <PaymentMethodId>4</PaymentMethodId>
  <Remark>sample string 5</Remark>
  <ShopId>1</ShopId>
  <UserId>2</UserId>
</CashRecieptAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>