POST api/itemwiseledgerprice/save

Request Information

URI Parameters

None.

Body Parameters

SaveItemLedgerPriceRequestModel
NameDescriptionTypeAdditional information
ItemID

integer

None.

LedgerID

integer

None.

Price

decimal number

None.

Type

string

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemID": 1,
  "LedgerID": 2,
  "Price": 3.0,
  "Type": "sample string 4",
  "UserID": 5
}

application/xml, text/xml

Sample:
<SaveItemLedgerPriceRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <ItemID>1</ItemID>
  <LedgerID>2</LedgerID>
  <Price>3</Price>
  <Type>sample string 4</Type>
  <UserID>5</UserID>
</SaveItemLedgerPriceRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.