POST api/Article/RegistUsers
Request Information
URI Parameters
None.
Body Parameters
ViewUsersName | Description | Type | Additional information |
---|---|---|---|
uname | string |
None. |
|
pword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "uname": "sample string 1", "pword": "sample string 2" }
application/xml, text/xml
Sample:
<ViewUsers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webApi.Models"> <pword>sample string 2</pword> <uname>sample string 1</uname> </ViewUsers>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
usersName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
uname | string |
None. |
|
pword | string |
None. |
|
articleCount | integer |
None. |
|
ctime | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "uname": "sample string 2", "pword": "sample string 3", "articleCount": 4, "ctime": "2023-09-26T21:12:34.7061366+08:00" }
application/xml, text/xml
Sample:
<users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webApi.Models"> <ID>1</ID> <articleCount>4</articleCount> <ctime>2023-09-26T21:12:34.7061366+08:00</ctime> <pword>sample string 3</pword> <uname>sample string 2</uname> </users>