POST api/ReceiptBook/CreateReceiptBookItem

Request Information

URI Parameters

None.

Body Parameters

ReceiptBookItemRequest
NameDescriptionTypeAdditional information
ReceiptBookCategoryId

globally unique identifier

None.

Note

string

None.

Money

decimal number

None.

Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiptBookCategoryId": "662b2c85-633e-43c4-96c0-e9b4671effdc",
  "Note": "sample string 2",
  "Money": 3.0,
  "Date": "2026-04-14T19:37:06.8753511+07:00"
}

application/xml, text/xml

Sample:
<ReceiptBookItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.ReceiptBook">
  <Date>2026-04-14T19:37:06.8753511+07:00</Date>
  <Money>3</Money>
  <Note>sample string 2</Note>
  <ReceiptBookCategoryId>662b2c85-633e-43c4-96c0-e9b4671effdc</ReceiptBookCategoryId>
</ReceiptBookItemRequest>

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 'ReceiptBookItemRequest'.

Response Information

Resource Description

None.