POST api/stockshelf/insert

Request Information

URI Parameters

None.

Body Parameters

InsertStockShelfRequestModel
NameDescriptionTypeAdditional information
StockShelfID

integer

None.

StockShelfName

string

None.

StockRoomID

integer

None.

Remarks

string

None.

FinancialYearID

integer

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StockShelfID": 1,
  "StockShelfName": "sample string 2",
  "StockRoomID": 3,
  "Remarks": "sample string 4",
  "FinancialYearID": 5,
  "UserID": 6
}

application/xml, text/xml

Sample:
<InsertStockShelfRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <FinancialYearID>5</FinancialYearID>
  <Remarks>sample string 4</Remarks>
  <StockRoomID>3</StockRoomID>
  <StockShelfID>1</StockShelfID>
  <StockShelfName>sample string 2</StockShelfName>
  <UserID>6</UserID>
</InsertStockShelfRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.