POST api/MobiApp/SaveStockDetail

Request Information

URI Parameters

None.

Body Parameters

StocksGetAll
NameDescriptionTypeAdditional information
StocklevelID

integer

None.

Itemcode

string

None.

CustomerCode

string

None.

Total

integer

None.

Itemdescription

string

None.

Bags

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StocklevelID": 1,
  "Itemcode": "sample string 2",
  "CustomerCode": "sample string 3",
  "Total": 4,
  "Itemdescription": "sample string 5",
  "Bags": 6
}

application/xml, text/xml

Sample:
<StocksGetAll xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Core.Models.RepApp">
  <Bags>6</Bags>
  <CustomerCode>sample string 3</CustomerCode>
  <Itemcode>sample string 2</Itemcode>
  <Itemdescription>sample string 5</Itemdescription>
  <StocklevelID>1</StocklevelID>
  <Total>4</Total>
</StocksGetAll>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

StatusCode

integer

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "StatusCode": 3,
  "Data": {}
}

application/xml, text/xml

Sample:
<ApiResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobiApis.Model">
  <Data />
  <Message>sample string 1</Message>
  <Status>true</Status>
  <StatusCode>3</StatusCode>
</ApiResponseModel>