GET api/Pos/Setting/Shop/T/Query/SimpleRet?shopid={shopid}&shopstate={shopstate}
查询当前系统中的门店的列表并以简单参数返回。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopid |
(为空表示不限)门店的ID(等于)。 |
string |
Default value is |
shopstate |
(为空表示不限)1仅返回启用的门店,0仅返回停业的门店。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
查询当前系统中的门店的列表并以简单参数返回。
CommonOperationResultWithTagOfIEnumerableOfPosShopItemResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of PosShopItemResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "shopid": "sample string 1", "shopname": "sample string 2", "state": "sample string 3", "mailaddress": "sample string 4", "administrativedivisions": "sample string 5", "phone": "sample string 6", "fax": "sample string 7", "longitude": 8.0, "latitude": 9.0, "reserve1": "sample string 10", "reserve2": "sample string 11" }, { "shopid": "sample string 1", "shopname": "sample string 2", "state": "sample string 3", "mailaddress": "sample string 4", "administrativedivisions": "sample string 5", "phone": "sample string 6", "fax": "sample string 7", "longitude": 8.0, "latitude": 9.0, "reserve1": "sample string 10", "reserve2": "sample string 11" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfPosShopItemResultldpHZqFJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result"> <d2p1:PosShopItemResult> <d2p1:administrativedivisions>sample string 5</d2p1:administrativedivisions> <d2p1:fax>sample string 7</d2p1:fax> <d2p1:latitude>9</d2p1:latitude> <d2p1:longitude>8</d2p1:longitude> <d2p1:mailaddress>sample string 4</d2p1:mailaddress> <d2p1:phone>sample string 6</d2p1:phone> <d2p1:reserve1>sample string 10</d2p1:reserve1> <d2p1:reserve2>sample string 11</d2p1:reserve2> <d2p1:shopid>sample string 1</d2p1:shopid> <d2p1:shopname>sample string 2</d2p1:shopname> <d2p1:state>sample string 3</d2p1:state> </d2p1:PosShopItemResult> <d2p1:PosShopItemResult> <d2p1:administrativedivisions>sample string 5</d2p1:administrativedivisions> <d2p1:fax>sample string 7</d2p1:fax> <d2p1:latitude>9</d2p1:latitude> <d2p1:longitude>8</d2p1:longitude> <d2p1:mailaddress>sample string 4</d2p1:mailaddress> <d2p1:phone>sample string 6</d2p1:phone> <d2p1:reserve1>sample string 10</d2p1:reserve1> <d2p1:reserve2>sample string 11</d2p1:reserve2> <d2p1:shopid>sample string 1</d2p1:shopid> <d2p1:shopname>sample string 2</d2p1:shopname> <d2p1:state>sample string 3</d2p1:state> </d2p1:PosShopItemResult> </tag> </CommonOperationResultWithTagOfArrayOfPosShopItemResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.