POST api/UnitArticle/GetArray
获取文章详情 图片文字分开
Request Information
URI Parameters
None.
Body Parameters
ArticleInputName | Description | Type | Additional information |
---|---|---|---|
UnitID |
单位编号 |
string |
None. |
ID |
文章编号 |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "UnitID": "sample string 1", "ID": "142f4038-1061-4bd0-afae-02eaf071e718" }
Response Information
Resource Description
UnitArticleInputName | Description | Type | Additional 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": "ae7e7f83-0efb-480f-bc06-53265a3d4097", "Title": "sample string 1", "TitlePic": "sample string 2", "Content": "sample string 3", "CategoryID": "16a27e53-29df-4b55-a981-4ff740c700c6", "OwnerName": "sample string 5", "ViewConfig": 6, "SetConfig": 7, "Status": 8, "Token": "sample string 9", "SessionID": "795f2e04-7caa-4b5f-859c-055f6826c1d0", "TimeStamp": 10 }