POST api/UnitArticle/GetArray

获取文章详情 图片文字分开

Request Information

URI Parameters

None.

Body Parameters

ArticleInput
NameDescriptionTypeAdditional information
UnitID

单位编号

string

None.

ID

文章编号

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "sample string 1",
  "ID": "7681efa9-1547-4b97-a62f-9eddcc609d31"
}

Response Information

Resource Description

UnitArticleInput
NameDescriptionTypeAdditional information
ID

新文章为空,编辑的时候为文章ID

globally unique identifier

None.

Title

标题

string

None.

TitlePic

标题图片

string

None.

Content

正文

string

None.

CategoryID

文章栏目

globally unique identifier

None.

OwnerName

作者

string

None.

ViewConfig

访问权限 管理员0 全部255 其它按位或运算【教师 = 4,学生 = 8,家长 = 16,职工 = 32】

integer

None.

SetConfig

附加选项 按位或运算【公告 = 1,置顶 = 2,幻灯 = 4,侧边栏 = 8】

integer

None.

Status

发布状态 0草稿箱 1正常

integer

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "7d34be25-9e37-4ebd-a44d-134a0cc1291c",
  "Title": "sample string 1",
  "TitlePic": "sample string 2",
  "Content": "sample string 3",
  "CategoryID": "4fc6ce59-b264-441d-aef3-524ca8ecf89e",
  "OwnerName": "sample string 5",
  "ViewConfig": 6,
  "SetConfig": 7,
  "Status": 8,
  "Token": "sample string 9",
  "SessionID": "25280e11-33a7-4518-8e9e-19ea80cf05f1",
  "TimeStamp": 10
}