POST api/POS/setStockFlag
Request Information
URI Parameters
None.
Body Parameters
StockDataName | Description | Type | Additional information |
---|---|---|---|
MerchantId | integer |
None. |
|
From | string |
None. |
|
Date | date |
None. |
|
StockList | Collection of StockModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "MerchantId": 1, "From": "sample string 2", "Date": "2024-11-06T15:23:26.2018363+00:00", "StockList": [ { "UId": 1, "SKU": "sample string 2", "Unit": "sample string 3", "Stock": 1.1, "Status": 4 }, { "UId": 1, "SKU": "sample string 2", "Unit": "sample string 3", "Stock": 1.1, "Status": 4 } ] }
application/xml, text/xml
Sample:
<StockData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models"> <Date>2024-11-06T15:23:26.2018363+00:00</Date> <From>sample string 2</From> <MerchantId>1</MerchantId> <StockList> <StockModel> <SKU>sample string 2</SKU> <Status>4</Status> <Stock>1.1</Stock> <UId>1</UId> <Unit>sample string 3</Unit> </StockModel> <StockModel> <SKU>sample string 2</SKU> <Status>4</Status> <Stock>1.1</Stock> <UId>1</UId> <Unit>sample string 3</Unit> </StockModel> </StockList> </StockData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.