POST api/article/add
Request Information
URI Parameters
None.
Body Parameters
wxArticleDtoName | Description | Type | Additional information |
---|---|---|---|
ARTICLEID | integer |
None. |
|
CATEGORYID | integer |
None. |
|
USERID | string |
None. |
|
BJXID | integer |
None. |
|
BJXName | string |
None. |
|
TITLE | string |
None. |
|
Content | string |
None. |
|
SubContent | string |
None. |
|
ARTICLESOURCE | string |
None. |
|
Author | string |
None. |
|
Inputor | string |
None. |
|
ISTOP | boolean |
None. |
|
ISVERIFIED | boolean |
None. |
|
ISPUBLIC | boolean |
None. |
|
HITS | integer |
None. |
|
CREATEDT | date |
None. |
|
TIMEOUTDAYS | integer |
None. |
|
LASTUPDATE | date |
None. |
|
IMAGEADDRESS | string |
None. |
|
string |
None. |
||
RegionCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ARTICLEID": 1, "CATEGORYID": 2, "USERID": "sample string 3", "BJXID": 4, "BJXName": "sample string 5", "TITLE": "sample string 6", "Content": "sample string 7", "SubContent": "sample string 8", "ARTICLESOURCE": "sample string 9", "Author": "sample string 10", "Inputor": "sample string 11", "ISTOP": true, "ISVERIFIED": true, "ISPUBLIC": true, "HITS": 12, "CREATEDT": "2024-11-21T17:41:21.6684318+08:00", "TIMEOUTDAYS": 14, "LASTUPDATE": "2024-11-21T17:41:21.6684318+08:00", "IMAGEADDRESS": "sample string 16", "Pdf": "sample string 17", "RegionCode": "sample string 18" }
application/xml, text/xml
Sample:
<wxArticleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.Entity.dto"> <ARTICLEID>1</ARTICLEID> <ARTICLESOURCE>sample string 9</ARTICLESOURCE> <Author>sample string 10</Author> <BJXID>4</BJXID> <BJXName>sample string 5</BJXName> <CATEGORYID>2</CATEGORYID> <CREATEDT>2024-11-21T17:41:21.6684318+08:00</CREATEDT> <Content>sample string 7</Content> <HITS>12</HITS> <IMAGEADDRESS>sample string 16</IMAGEADDRESS> <ISPUBLIC>true</ISPUBLIC> <ISTOP>true</ISTOP> <ISVERIFIED>true</ISVERIFIED> <Inputor>sample string 11</Inputor> <LASTUPDATE>2024-11-21T17:41:21.6684318+08:00</LASTUPDATE> <Pdf>sample string 17</Pdf> <RegionCode>sample string 18</RegionCode> <SubContent>sample string 8</SubContent> <TIMEOUTDAYS>14</TIMEOUTDAYS> <TITLE>sample string 6</TITLE> <USERID>sample string 3</USERID> </wxArticleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultEntityName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
data | Object |
None. |
|
msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "data": {}, "msg": "sample string 3" }
application/xml, text/xml
Sample:
<ResultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.API"> <code>1</code> <data /> <msg>sample string 3</msg> </ResultEntity>