GET api/Article/GetArticleFormInfoById?id={id}

获取文章信息--供编辑使用

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取文章信息--供编辑使用

ArticleFormDto
NameDescriptionTypeAdditional information
Newsid

文章id

integer

None.

Chrtitle

文章标题

string

None.

Keyword

文章关键字

string

None.

Categoryid

大分类id

integer

None.

CategoryName

大分类名称

string

None.

Styleid

文章来源

ArticleSourceType

None.

Chrauthor

转载文章作者

string

None.

Chrfrom

转载文章来源

string

None.

Chrcontent

文章内容

string

None.

PartChrcontent

文章部分收费内容

string

None.

Intorder

排序

integer

None.

Color

标题颜色

string

None.

Filepath

文章封面

string

None.

Classid

文章小分类id

integer

None.

ClassName

小分类名称

string

None.

Isfont

是否标题加粗

boolean

None.

Isremote

是否远程

boolean

None.

NewsSeo

文章seo字段

string

None.

Danye

是否为单页

boolean

None.

Summary

文章摘要

string

None.

Isjiaodian

焦点

boolean

None.

JiaodianFilepath

焦点封面

string

None.

IsSkip

是否跳转

boolean

None.

SkipUrl

跳转地址

string

None.

Iskill

审核状态

AuditStatusType

None.

Dtappenddate

创建时间

date

None.

Hits

浏览量

integer

None.

UserLogo

用户头像

string

None.

UserName

用户名称

string

None.

Userid

发布的用户

integer

None.

Istuji

是否推荐?

boolean

None.

ReadPayType

文章阅读付费方式

NewPayType

None.

ReadType

文章阅读方式

ArticleReadType

None.

ReadCost

阅读费用

integer

None.

AddReverts

附加的评论数

integer

None.

Likes

点赞数(需要数据转接)

integer

None.

IsRevert

文章是否可以评论

boolean

None.

ReadUserIdList

可阅读用户list

string

None.

ReadUserNames

可阅读用户名

Collection of string

None.

KillReason

审核不通过原因

string

None.

TailContentType

尾部插入其他频道方式

ArticleTailContentType

None.

BizEntityType

绑定其他频道业务数据

BizEntityAllType

None.

MobileTypographyStyle

手机端展示方式

MobileTypographyStyle

None.

ToutiaoDateTime

头条失效时间 空表示无限期

date

None.

TuijianDateTime

推荐失效时间 空表示无限期

date

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArticleFormDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Article.Service.Dto.Article">
  <AddReverts>23</AddReverts>
  <BizEntityType>XX_Biz</BizEntityType>
  <CategoryName>sample string 4</CategoryName>
  <Categoryid>1</Categoryid>
  <Chrauthor>sample string 5</Chrauthor>
  <Chrcontent>sample string 7</Chrcontent>
  <Chrfrom>sample string 6</Chrfrom>
  <Chrtitle>sample string 2</Chrtitle>
  <ClassName>sample string 13</ClassName>
  <Classid>12</Classid>
  <Color>sample string 10</Color>
  <Danye>true</Danye>
  <Dtappenddate>2024-03-28T19:07:02.5286662+08:00</Dtappenddate>
  <Filepath>sample string 11</Filepath>
  <Hits>18</Hits>
  <Intorder>9</Intorder>
  <IsRevert>true</IsRevert>
  <IsSkip>true</IsSkip>
  <Isfont>true</Isfont>
  <Isjiaodian>true</Isjiaodian>
  <Iskill>TobeAgree</Iskill>
  <Isremote>true</Isremote>
  <Istuji>true</Istuji>
  <JiaodianFilepath>sample string 16</JiaodianFilepath>
  <Keyword>sample string 3</Keyword>
  <KillReason>sample string 27</KillReason>
  <Likes>24</Likes>
  <MobileTypographyStyle>Auto</MobileTypographyStyle>
  <NewsSeo>sample string 14</NewsSeo>
  <Newsid>1</Newsid>
  <PartChrcontent>sample string 8</PartChrcontent>
  <ReadCost>22</ReadCost>
  <ReadPayType>JiFen</ReadPayType>
  <ReadType>UnLimited</ReadType>
  <ReadUserIdList>sample string 26</ReadUserIdList>
  <ReadUserNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ReadUserNames>
  <SkipUrl>sample string 17</SkipUrl>
  <Styleid>Reprint</Styleid>
  <Summary>sample string 15</Summary>
  <TailContentType>Random</TailContentType>
  <ToutiaoDateTime>2024-03-28T19:07:02.5286662+08:00</ToutiaoDateTime>
  <TuijianDateTime>2024-03-28T19:07:02.5286662+08:00</TuijianDateTime>
  <UserLogo>sample string 19</UserLogo>
  <UserName>sample string 20</UserName>
  <Userid>21</Userid>
</ArticleFormDto>