GET api/PostsV720/GetPostsDetail?PostsId={PostsId}&sign={sign}&stamp={stamp}

获取帖子详情(网页)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PostsId

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.ResultDataMsgOfZaiMieApp.WebApi.ViewModel.PostsDetailView
NameDescriptionTypeAdditional information
success

boolean

None.

code

integer

None.

data

ZaiMieApp.WebApi.ViewModel.PostsDetailView

None.

addcoin

integer

None.

message

string

None.

page

integer

None.

allPage

integer

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 with type 'ZaiMieApp.WebApi.ViewModel.ReplyView'. Path 'data.reply[0].posts.reply'.

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 with type 'ZaiMieApp.WebApi.ViewModel.ReplyView'. Path 'data.reply[0].posts.reply'.

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: “System.Collections.Generic.List`1[[ZaiMieApp.WebApi.ViewModel.ReplyView, ZaiMieApp.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

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: “System.Collections.Generic.List`1[[ZaiMieApp.WebApi.ViewModel.ReplyView, ZaiMieApp.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。