POST api/Stock/LoadAllStockList

Request Information

URI Parameters

None.

Body Parameters

StockFormViewModel
NameDescriptionTypeAdditional information
locationid

integer

None.

locationname

string

None.

websettingsid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "locationid": 1,
  "locationname": "sample string 2",
  "websettingsid": 3
}

application/xml, text/xml

Sample:
<StockFormViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <locationid>1</locationid>
  <locationname>sample string 2</locationname>
  <websettingsid>3</websettingsid>
</StockFormViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

Status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "Status": true,
  "message": "sample string 3",
  "data": {},
  "errorCode": 5
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <data />
  <errorCode>5</errorCode>
  <message>sample string 3</message>
  <status>true</status>
</HttpResultViewModel>