POST api/Message/messageInfo
Request Information
URI Parameters
None.
Body Parameters
messageInfoPost| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tel": "sample string 2",
"token": "sample string 3",
"uid": 1
}
application/xml, text/xml
Sample:
<messageInfoPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers"> <tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 2</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <id>1</id> </messageInfoPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
messageInfoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| id | integer |
None. |
|
| sentDt |
发送时间 |
string |
None. |
| content | string |
None. |
|
| title | string |
None. |
|
| sender |
发送人 |
string |
None. |
| imgList | 数组: string |
None. |
|
| huifu | integer |
None. |
|
| weidu |
1:代表未读或者未处理 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"id": 3,
"sentDt": "sample string 4",
"content": "sample string 5",
"title": "sample string 6",
"sender": "sample string 7",
"imgList": [
"sample string 1",
"sample string 2"
],
"huifu": 8,
"weidu": 9
}
application/xml, text/xml
Sample:
<messageInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
<content>sample string 5</content>
<huifu>8</huifu>
<id>3</id>
<imgList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</imgList>
<sender>sample string 7</sender>
<sentDt>sample string 4</sentDt>
<title>sample string 6</title>
<weidu>9</weidu>
<code>1</code>
<msg>sample string 2</msg>
</messageInfoResult>