POST api/BBS/SetTimeOut

超时设置

Request Information

URI Parameters

None.

Body Parameters

TimeOutRequest
NameDescriptionTypeAdditional information
time_out

时间(分钟)

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "time_out": "sample string 1",
  "user_id": "sample string 2",
  "token": "sample string 3"
}

application/xml, text/xml

Sample:
<TimeOutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 3</token>
  <user_id>sample string 2</user_id>
  <time_out>sample string 1</time_out>
</TimeOutRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TimeOutRequest'.

Response Information

Resource Description

超时设置

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.