POST api/stockrack/insert

Request Information

URI Parameters

None.

Body Parameters

InsertStockRackRequestModel
NameDescriptionTypeAdditional information
StockRackID

integer

None.

StockRackName

string

None.

StockShelfID

integer

None.

Remarks

string

None.

FinancialYearID

integer

None.

UserID

integer

None.

RackNumbers

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StockRackID": 1,
  "StockRackName": "sample string 2",
  "StockShelfID": 3,
  "Remarks": "sample string 4",
  "FinancialYearID": 5,
  "UserID": 6,
  "RackNumbers": 7
}

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.