POST api/UnitArticle/UserArticleGet

获取USER文章详情

Request Information

URI Parameters

None.

Body Parameters

UserArticle
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

UnitID

globally unique identifier

None.

UserNumb

string

None.

UserName

string

None.

UserType

UserType

None.

Title

string

None.

Privacy

Privacy

None.

AddTime

date

None.

Status

UserArticleStatus

None.

IsTop

boolean

None.

Config

UserArticleConfig

None.

IsAudit

boolean

None.

Photo

string

None.

CategoryType

UserArticleType

None.

CategoryID

globally unique identifier

None.

AutoCheckStatus

ArticleAutoCheck

None.

ArtifiAuditStatus

ArticleArtifiAudit

None.

AuditStatus

ArticleAuditStatus

None.

KeyBadWords

string

None.

HotStatus

PortalArticleHotStatus

None.

IfCheck

boolean

None.

AuditUser

string

None.

LetterPicture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "4d879eed-0161-4ad9-b0e3-c4acf2259146",
  "UnitID": "d10c7a92-a8ea-4eee-bd2b-f499b7568555",
  "UserNumb": "sample string 3",
  "UserName": "sample string 4",
  "UserType": 10,
  "Title": "sample string 5",
  "Privacy": 0,
  "AddTime": "2021-08-05T03:27:49.9499228+08:00",
  "Status": 0,
  "IsTop": true,
  "Config": 4,
  "IsAudit": true,
  "Photo": "sample string 9",
  "CategoryType": 0,
  "CategoryID": "02e22882-6777-4adf-8731-621d41d12222",
  "AutoCheckStatus": 0,
  "ArtifiAuditStatus": 0,
  "AuditStatus": 0,
  "KeyBadWords": "sample string 10",
  "HotStatus": 0,
  "IfCheck": true,
  "AuditUser": "sample string 12",
  "LetterPicture": "sample string 13"
}

application/xml, text/xml

Sample:
<UserArticle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.Business.Model.Personal">
  <AddTime>2021-08-05T03:27:49.9499228+08:00</AddTime>
  <ArtifiAuditStatus>待审核</ArtifiAuditStatus>
  <AuditStatus>系统未审核</AuditStatus>
  <AuditUser>sample string 12</AuditUser>
  <AutoCheckStatus>未检测</AutoCheckStatus>
  <CategoryID>02e22882-6777-4adf-8731-621d41d12222</CategoryID>
  <CategoryType>自定义分类</CategoryType>
  <Config>转载文章</Config>
  <HotStatus>无</HotStatus>
  <ID>4d879eed-0161-4ad9-b0e3-c4acf2259146</ID>
  <IfCheck>true</IfCheck>
  <IsAudit>true</IsAudit>
  <IsTop>true</IsTop>
  <KeyBadWords>sample string 10</KeyBadWords>
  <LetterPicture>sample string 13</LetterPicture>
  <Photo>sample string 9</Photo>
  <Privacy>仅自己</Privacy>
  <Status>回收站</Status>
  <Title>sample string 5</Title>
  <UnitID>d10c7a92-a8ea-4eee-bd2b-f499b7568555</UnitID>
  <UserName>sample string 4</UserName>
  <UserNumb>sample string 3</UserNumb>
  <UserType>教师</UserType>
</UserArticle>

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 'UserArticle'.

Response Information

Resource Description

UserArticleInput
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Title

标题

string

None.

Content

正文

string

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "a411df0b-1957-497f-9f01-46c483d28935",
  "Title": "sample string 2",
  "Content": "sample string 3",
  "Token": "sample string 4",
  "SessionID": "257e4d3a-14fa-49d3-8f63-904fd41cc607",
  "TimeStamp": 5
}

application/xml, text/xml

Sample:
<UnitArticleController.UserArticleInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.Unit">
  <SessionID xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">257e4d3a-14fa-49d3-8f63-904fd41cc607</SessionID>
  <TimeStamp xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">5</TimeStamp>
  <Token xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">sample string 4</Token>
  <Content>sample string 3</Content>
  <ID>a411df0b-1957-497f-9f01-46c483d28935</ID>
  <Title>sample string 2</Title>
</UnitArticleController.UserArticleInput>