GET api/Inventory/GetSTRByDate?AppId={AppId}&AppKey={AppKey}&STRDate={STRDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AppId | string |
Default value is |
|
| AppKey | string |
Default value is |
|
| STRDate | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
StandardResponseClassOfSTRListMasterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| msg | string |
None. |
|
| data | Collection of STRListMasterModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"msg": "sample string 2",
"data": [
{
"Id": 1,
"STRDate": "sample string 2",
"FromShopCode": "sample string 3",
"ToShopCode": "sample string 4",
"STRNumber": 5,
"STRId": 6,
"data": [
{
"ProductCode": "sample string 1",
"DispatchedQty": 2.1,
"ReceivedQty": 3.1,
"RetailPrice": 4.1,
"CostPrice": 5.1
},
{
"ProductCode": "sample string 1",
"DispatchedQty": 2.1,
"ReceivedQty": 3.1,
"RetailPrice": 4.1,
"CostPrice": 5.1
}
]
},
{
"Id": 1,
"STRDate": "sample string 2",
"FromShopCode": "sample string 3",
"ToShopCode": "sample string 4",
"STRNumber": 5,
"STRId": 6,
"data": [
{
"ProductCode": "sample string 1",
"DispatchedQty": 2.1,
"ReceivedQty": 3.1,
"RetailPrice": 4.1,
"CostPrice": 5.1
},
{
"ProductCode": "sample string 1",
"DispatchedQty": 2.1,
"ReceivedQty": 3.1,
"RetailPrice": 4.1,
"CostPrice": 5.1
}
]
}
]
}
text/xml
Sample:
<StandardResponseClassOfSTRListMasterModelm2ATiXWe xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models">
<code>sample string 1</code>
<data>
<STRListMasterModel>
<FromShopCode>sample string 3</FromShopCode>
<Id>1</Id>
<STRDate>sample string 2</STRDate>
<STRId>6</STRId>
<STRNumber>5</STRNumber>
<ToShopCode>sample string 4</ToShopCode>
<data>
<STRListDetailModel>
<CostPrice>5.1</CostPrice>
<DispatchedQty>2.1</DispatchedQty>
<ProductCode>sample string 1</ProductCode>
<ReceivedQty>3.1</ReceivedQty>
<RetailPrice>4.1</RetailPrice>
</STRListDetailModel>
<STRListDetailModel>
<CostPrice>5.1</CostPrice>
<DispatchedQty>2.1</DispatchedQty>
<ProductCode>sample string 1</ProductCode>
<ReceivedQty>3.1</ReceivedQty>
<RetailPrice>4.1</RetailPrice>
</STRListDetailModel>
</data>
</STRListMasterModel>
<STRListMasterModel>
<FromShopCode>sample string 3</FromShopCode>
<Id>1</Id>
<STRDate>sample string 2</STRDate>
<STRId>6</STRId>
<STRNumber>5</STRNumber>
<ToShopCode>sample string 4</ToShopCode>
<data>
<STRListDetailModel>
<CostPrice>5.1</CostPrice>
<DispatchedQty>2.1</DispatchedQty>
<ProductCode>sample string 1</ProductCode>
<ReceivedQty>3.1</ReceivedQty>
<RetailPrice>4.1</RetailPrice>
</STRListDetailModel>
<STRListDetailModel>
<CostPrice>5.1</CostPrice>
<DispatchedQty>2.1</DispatchedQty>
<ProductCode>sample string 1</ProductCode>
<ReceivedQty>3.1</ReceivedQty>
<RetailPrice>4.1</RetailPrice>
</STRListDetailModel>
</data>
</STRListMasterModel>
</data>
<msg>sample string 2</msg>
</StandardResponseClassOfSTRListMasterModelm2ATiXWe>