POST api/Files/ZcChatList
聊天信息列表获取,分页形式 [专用接口]
Request Information
Body Parameters
ZcChatListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
用户id |
integer |
None. |
| Imei |
设备 imei |
string |
None. |
| PageNo |
查询的页数 |
integer |
None. |
| PageCount |
每页条数 |
integer |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Imei": "sample string 2",
"PageNo": 3,
"PageCount": 4,
"Token": "sample string 5",
"Language": "sample string 6",
"AppId": "sample string 7"
}
application/xml, text/xml
Sample:
<ZcChatListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 7</AppId> <Language>sample string 6</Language> <Token>sample string 5</Token> <Imei>sample string 2</Imei> <PageCount>4</PageCount> <PageNo>3</PageNo> <UserId>1</UserId> </ZcChatListModel>
Response Information
Resource Description
返回值State状态
0. 表示成功
100. 表示无数据
| Name | Description | Type | Additional information |
|---|---|---|---|
| Items |
返回的聊天内容集合 |
Collection of ZcwFileModel |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"FileId": 1,
"SendFrom": "sample string 2",
"FromType": 3,
"SendTo": "sample string 4",
"ToType": 5,
"Content": "sample string 6",
"Created": "sample string 7",
"MsgType": 8,
"Long": 9
},
{
"FileId": 1,
"SendFrom": "sample string 2",
"FromType": 3,
"SendTo": "sample string 4",
"ToType": 5,
"Content": "sample string 6",
"Created": "sample string 7",
"MsgType": 8,
"Long": 9
}
],
"State": 1
}
application/xml, text/xml
Sample:
<ZcChatListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
<State>1</State>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
<d2p1:ZcwFileModel>
<d2p1:Content>sample string 6</d2p1:Content>
<d2p1:Created>sample string 7</d2p1:Created>
<d2p1:FileId>1</d2p1:FileId>
<d2p1:FromType>3</d2p1:FromType>
<d2p1:Long>9</d2p1:Long>
<d2p1:MsgType>8</d2p1:MsgType>
<d2p1:SendFrom>sample string 2</d2p1:SendFrom>
<d2p1:SendTo>sample string 4</d2p1:SendTo>
<d2p1:ToType>5</d2p1:ToType>
</d2p1:ZcwFileModel>
<d2p1:ZcwFileModel>
<d2p1:Content>sample string 6</d2p1:Content>
<d2p1:Created>sample string 7</d2p1:Created>
<d2p1:FileId>1</d2p1:FileId>
<d2p1:FromType>3</d2p1:FromType>
<d2p1:Long>9</d2p1:Long>
<d2p1:MsgType>8</d2p1:MsgType>
<d2p1:SendFrom>sample string 2</d2p1:SendFrom>
<d2p1:SendTo>sample string 4</d2p1:SendTo>
<d2p1:ToType>5</d2p1:ToType>
</d2p1:ZcwFileModel>
</Items>
</ZcChatListResult>