POST api/ReceiptBook/UpdateReceiptBookItem

Request Information

URI Parameters

None.

Body Parameters

UpdateReceiptBookItemRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ReceiptBookCategoryId

globally unique identifier

None.

Note

string

None.

Money

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "8f5a1012-9079-4eaa-bfd6-e5cbc0cf77e9",
  "ReceiptBookCategoryId": "a9025562-f0bf-4405-9e6b-564c80c5e6d1",
  "Note": "sample string 3",
  "Money": 4.0
}

application/xml, text/xml

Sample:
<UpdateReceiptBookItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.ReceiptBook">
  <Id>8f5a1012-9079-4eaa-bfd6-e5cbc0cf77e9</Id>
  <Money>4</Money>
  <Note>sample string 3</Note>
  <ReceiptBookCategoryId>a9025562-f0bf-4405-9e6b-564c80c5e6d1</ReceiptBookCategoryId>
</UpdateReceiptBookItemRequest>

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

Response Information

Resource Description

None.