GET api/PublicV770/GetActivityList?page={page}&newspapergroupId={newspapergroupId}&sign={sign}&stamp={stamp}
获取活动列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| page | integer |
Default value is 1 |
|
| newspapergroupId |
单独客户编号 |
integer |
Default value is 0 |
| sign | string |
Default value is |
|
| stamp | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultDataOfZaiMieApp.WebApi.ViewModel.Activity| Name | Description | Type | Additional information |
|---|---|---|---|
| recordsetCount | integer |
None. |
|
| pageSize | integer |
None. |
|
| page | integer |
None. |
|
| allPage | integer |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| data | Collection of ZaiMieApp.WebApi.ViewModel.Activity |
None. |
Response Formats
application/json, text/json
Sample:
{
"recordsetCount": 1,
"pageSize": 2,
"page": 3,
"allPage": 4,
"message": "sample string 5",
"success": true,
"code": 7,
"data": [
{
"Id": 1,
"newspapergroupId": 2,
"title": "sample string 3",
"content": "sample string 4",
"url": "sample string 5",
"image": "sample string 6",
"createDate": "sample string 7",
"state": 8
},
{
"Id": 1,
"newspapergroupId": 2,
"title": "sample string 3",
"content": "sample string 4",
"url": "sample string 5",
"image": "sample string 6",
"createDate": "sample string 7",
"state": 8
}
]
}
application/xml, text/xml
Sample:
<ResultDataOfActivityPr2Hy9OI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
<allPage>4</allPage>
<code>7</code>
<data>
<Activity>
<Id>1</Id>
<content>sample string 4</content>
<createDate>sample string 7</createDate>
<image>sample string 6</image>
<newspapergroupId>2</newspapergroupId>
<state>8</state>
<title>sample string 3</title>
<url>sample string 5</url>
</Activity>
<Activity>
<Id>1</Id>
<content>sample string 4</content>
<createDate>sample string 7</createDate>
<image>sample string 6</image>
<newspapergroupId>2</newspapergroupId>
<state>8</state>
<title>sample string 3</title>
<url>sample string 5</url>
</Activity>
</data>
<message>sample string 5</message>
<page>3</page>
<pageSize>2</pageSize>
<recordsetCount>1</recordsetCount>
<success>true</success>
</ResultDataOfActivityPr2Hy9OI>