GET api/PostsV720/GetPostsList?page={page}&UserInfoId={UserInfoId}&newspapergroupId={newspapergroupId}&sign={sign}&stamp={stamp}

获取帖子列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

integer

Default value is 1

UserInfoId

integer

Default value is 0

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.ResultPostsData
NameDescriptionTypeAdditional information
recordsetCount

integer

None.

pageSize

integer

None.

page

integer

None.

allPage

integer

None.

message

string

None.

success

boolean

None.

postsList

帖子列表

Collection of ZaiMieApp.WebApi.ViewModel.PostsView

None.

slidePostsList

幻灯列表

Collection of ZaiMieApp.WebApi.ViewModel.SlidePosts

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'posts' with type 'ZaiMieApp.WebApi.ViewModel.PostsView'. Path 'postsList[0].reply[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'posts' with type 'ZaiMieApp.WebApi.ViewModel.PostsView'. Path 'postsList[0].reply[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “ZaiMieApp.WebApi.ViewModel.PostsView”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “ZaiMieApp.WebApi.ViewModel.PostsView”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。