POST api/Message/info
Request Information
URI Parameters
None.
Body Parameters
msgInfoPost| Name | Description | Type | Additional information |
|---|---|---|---|
| mid | integer |
None. |
|
| uid |
账号id |
integer |
None. |
| token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"mid": 1,
"uid": 2,
"token": "sample string 3"
}
application/xml, text/xml
Sample:
<msgInfoPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Controllers"> <token xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">sample string 3</token> <uid xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">2</uid> <mid>1</mid> </msgInfoPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
msgInfoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| title | string |
None. |
|
| content | string |
None. |
|
| dt | string |
None. |
|
| type | integer |
None. |
|
| Code | integer |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"title": "sample string 2",
"content": "sample string 3",
"dt": "sample string 4",
"type": 5,
"Code": 6,
"Msg": "sample string 7"
}
application/xml, text/xml
Sample:
<msgInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Controllers"> <Code xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">6</Code> <Msg xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">sample string 7</Msg> <content>sample string 3</content> <dt>sample string 4</dt> <id>1</id> <title>sample string 2</title> <type>5</type> </msgInfoResult>