POST api/Article/AddArticle

发布文章

Request Information

URI Parameters

None.

Body Parameters

输入参数

AddArticleInput
NameDescriptionTypeAdditional information
Title

文章标题

string

None.

Html

文章正文

string

None.

Photo

封面图片

string

None.

Content

文字

string

None.

Lat

纬度[百度坐标]

decimal number

None.

Lng

经度[百度坐标]

decimal number

None.

Privacy

隐私

integer

None.

LocalName

地理名称

string

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Html": "sample string 2",
  "Photo": "sample string 3",
  "Content": "sample string 4",
  "Lat": 5.1,
  "Lng": 6.1,
  "Privacy": 7,
  "LocalName": "sample string 8",
  "Token": "sample string 9",
  "SessionID": "2dcc92c3-c51b-4dca-b620-6b2c3b3e17c4",
  "TimeStamp": 10
}

Response Information

Resource Description

输出参数

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.