GET api/v1/UserChat?toid={toid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| toid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of UserChat| Name | Description | Type | Additional information |
|---|---|---|---|
| time | string |
None. |
|
| chatby | integer |
None. |
|
| chatmsg | string |
None. |
|
| pimage | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"time": "sample string 1",
"chatby": 2,
"chatmsg": "sample string 3",
"pimage": "sample string 4"
},
{
"time": "sample string 1",
"chatby": 2,
"chatmsg": "sample string 3",
"pimage": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfUserChat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppBridge">
<UserChat>
<chatby>2</chatby>
<chatmsg>sample string 3</chatmsg>
<pimage>sample string 4</pimage>
<time>sample string 1</time>
</UserChat>
<UserChat>
<chatby>2</chatby>
<chatmsg>sample string 3</chatmsg>
<pimage>sample string 4</pimage>
<time>sample string 1</time>
</UserChat>
</ArrayOfUserChat>