POST api/MobiApp/SaveStockDetail
Request Information
URI Parameters
None.
Body Parameters
StocksGetAll| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| 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:
{
"UserId": 1,
"StocklevelID": 2,
"Itemcode": "sample string 3",
"CustomerCode": "sample string 4",
"Total": 5,
"Itemdescription": "sample string 6",
"Bags": 7
}
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>7</Bags> <CustomerCode>sample string 4</CustomerCode> <Itemcode>sample string 3</Itemcode> <Itemdescription>sample string 6</Itemdescription> <StocklevelID>2</StocklevelID> <Total>5</Total> <UserId>1</UserId> </StocksGetAll>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseModel| Name | Description | Type | Additional 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>