GET api/STR/WebSTRs?AppId={AppId}&AppKey={AppKey}&ShopCode={ShopCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AppId | string |
Default value is |
|
AppKey | string |
Default value is |
|
ShopCode | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
WebSTRReturnDataName | Description | Type | Additional information |
---|---|---|---|
code | string |
None. |
|
msg | string |
None. |
|
data | Collection of WebSTRs |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "msg": "sample string 2", "data": [ { "STRId": 1, "STRNo": 2, "Status": "sample string 3", "RefNo": "sample string 4", "DispatchShopCode": "sample string 5", "ReceiveShopCode": "sample string 6", "Products": [ { "STRId": 1, "ProductItemId": 2, "ProductCode": "sample string 3", "DispatchQty": 4.1, "ReceivedQty": 5.1 }, { "STRId": 1, "ProductItemId": 2, "ProductCode": "sample string 3", "DispatchQty": 4.1, "ReceivedQty": 5.1 } ] }, { "STRId": 1, "STRNo": 2, "Status": "sample string 3", "RefNo": "sample string 4", "DispatchShopCode": "sample string 5", "ReceiveShopCode": "sample string 6", "Products": [ { "STRId": 1, "ProductItemId": 2, "ProductCode": "sample string 3", "DispatchQty": 4.1, "ReceivedQty": 5.1 }, { "STRId": 1, "ProductItemId": 2, "ProductCode": "sample string 3", "DispatchQty": 4.1, "ReceivedQty": 5.1 } ] } ] }
text/xml
Sample:
<WebSTRReturnData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <code>sample string 1</code> <data> <WebSTRs> <DispatchShopCode>sample string 5</DispatchShopCode> <Products> <WebSTRItems> <DispatchQty>4.1</DispatchQty> <ProductCode>sample string 3</ProductCode> <ProductItemId>2</ProductItemId> <ReceivedQty>5.1</ReceivedQty> <STRId>1</STRId> </WebSTRItems> <WebSTRItems> <DispatchQty>4.1</DispatchQty> <ProductCode>sample string 3</ProductCode> <ProductItemId>2</ProductItemId> <ReceivedQty>5.1</ReceivedQty> <STRId>1</STRId> </WebSTRItems> </Products> <ReceiveShopCode>sample string 6</ReceiveShopCode> <RefNo>sample string 4</RefNo> <STRId>1</STRId> <STRNo>2</STRNo> <Status>sample string 3</Status> </WebSTRs> <WebSTRs> <DispatchShopCode>sample string 5</DispatchShopCode> <Products> <WebSTRItems> <DispatchQty>4.1</DispatchQty> <ProductCode>sample string 3</ProductCode> <ProductItemId>2</ProductItemId> <ReceivedQty>5.1</ReceivedQty> <STRId>1</STRId> </WebSTRItems> <WebSTRItems> <DispatchQty>4.1</DispatchQty> <ProductCode>sample string 3</ProductCode> <ProductItemId>2</ProductItemId> <ReceivedQty>5.1</ReceivedQty> <STRId>1</STRId> </WebSTRItems> </Products> <ReceiveShopCode>sample string 6</ReceiveShopCode> <RefNo>sample string 4</RefNo> <STRId>1</STRId> <STRNo>2</STRNo> <Status>sample string 3</Status> </WebSTRs> </data> <msg>sample string 2</msg> </WebSTRReturnData>