POST api/ManageArticle/AddArticle

添加文章

Request Information

URI Parameters

None.

Body Parameters

AddArticleModel
NameDescriptionTypeAdditional information
ArticleType

文章类别

ArticleType

None.

Title

标题

string

None.

Summary

摘要

string

None.

CoverFileId

封面图Id

globally unique identifier

None.

Html

富文本内容

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ArticleType": 1,
  "Title": "sample string 1",
  "Summary": "sample string 2",
  "CoverFileId": "b2fe043b-e062-4dde-8c76-4cc412a1d025",
  "Html": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiReturnModel
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Message": "sample string 1",
  "Data": {}
}