GET api/Shop?companyId={companyId}&category={category}&page={page}&pageSize={pageSize}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | string |
Required |
|
| category | string |
Required |
|
| page | integer |
Required |
|
| pageSize | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ShopResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of ShopEnt |
None. |
|
| StatusCode | integer |
None. |
|
| ErrMsg | string |
None. |
|
| Header | ResponseHeader |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"ID": 1,
"Category": "sample string 2",
"ShopName": "sample string 3",
"ContactPhone": "sample string 4",
"Address": "sample string 5",
"Image": "sample string 6"
},
{
"ID": 1,
"Category": "sample string 2",
"ShopName": "sample string 3",
"ContactPhone": "sample string 4",
"Address": "sample string 5",
"Image": "sample string 6"
}
],
"StatusCode": 1,
"ErrMsg": "sample string 2",
"Header": {
"TotalCount": 1,
"TotalPages": 2
}
}
application/xml, text/xml
Sample:
<ShopResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WxApi.Models">
<ErrMsg>sample string 2</ErrMsg>
<Header>
<TotalCount>1</TotalCount>
<TotalPages>2</TotalPages>
</Header>
<StatusCode>1</StatusCode>
<Data>
<ShopEnt>
<Address>sample string 5</Address>
<Category>sample string 2</Category>
<ContactPhone>sample string 4</ContactPhone>
<ID>1</ID>
<Image>sample string 6</Image>
<ShopName>sample string 3</ShopName>
</ShopEnt>
<ShopEnt>
<Address>sample string 5</Address>
<Category>sample string 2</Category>
<ContactPhone>sample string 4</ContactPhone>
<ID>1</ID>
<Image>sample string 6</Image>
<ShopName>sample string 3</ShopName>
</ShopEnt>
</Data>
</ShopResponse>