POST api/UnitArticle/SetDeleteStatus

设置文章状态 删除/还原

Request Information

URI Parameters

None.

Body Parameters

ArticleStatusInput
NameDescriptionTypeAdditional information
Status

从回收站还原 = 1,删除到回收站 = 2

integer

None.

IDList

文章编号

Collection of globally unique identifier

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "IDList": [
    "17bd22f5-ab21-4478-8a12-2be31228f039",
    "256556d7-17f7-4a28-8e4f-205b980fecc4"
  ],
  "Token": "sample string 2",
  "SessionID": "9660252c-5a33-4500-89d5-cfc872c2f4ca",
  "TimeStamp": 3
}

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.