POST api/v1/PrintStock

Request Information

URI Parameters

None.

Body Parameters

PrintStockInputModel
NameDescriptionTypeAdditional information
fk_OutletID

integer

None.

ItemID

integer

None.

LocType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "fk_OutletID": 1,
  "ItemID": 1,
  "LocType": "sample string 2"
}

application/xml, text/xml

Sample:
<PrintStockInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ItemID>1</ItemID>
  <LocType>sample string 2</LocType>
  <fk_OutletID>1</fk_OutletID>
</PrintStockInputModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.