POST api/Poet/RefreshMessages/{poet_uid}?lastModified={lastModified}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| poet_uid | string |
Required |
|
| lastModified | integer |
Required |
Body Parameters
Collection of Message| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageId | string |
None. |
|
| localId | string |
None. |
|
| RoomId | string |
None. |
|
| SenderId | string |
None. |
|
| ReceiverId | string |
None. |
|
| Content | string |
None. |
|
| ImageUrl | string |
None. |
|
| AudioUrl | string |
None. |
|
| VideoUrl | string |
None. |
|
| Timestamp | integer |
None. |
|
| DeliveryStatus | string |
None. |
|
| DeliveryTime | integer |
None. |
|
| ReadTime | integer |
None. |
|
| lastModified | integer |
None. |
|
| senderType | string |
None. |
|
| syncedWithPoet | boolean |
None. |
|
| syncedWithSupervisor | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"MessageId": "sample string 1",
"localId": "sample string 2",
"RoomId": "sample string 3",
"SenderId": "sample string 4",
"ReceiverId": "sample string 5",
"Content": "sample string 6",
"ImageUrl": "sample string 7",
"AudioUrl": "sample string 8",
"VideoUrl": "sample string 9",
"Timestamp": 10,
"DeliveryStatus": "sample string 11",
"DeliveryTime": 1,
"ReadTime": 1,
"lastModified": 12,
"senderType": "sample string 13",
"syncedWithPoet": true,
"syncedWithSupervisor": true
},
{
"MessageId": "sample string 1",
"localId": "sample string 2",
"RoomId": "sample string 3",
"SenderId": "sample string 4",
"ReceiverId": "sample string 5",
"Content": "sample string 6",
"ImageUrl": "sample string 7",
"AudioUrl": "sample string 8",
"VideoUrl": "sample string 9",
"Timestamp": 10,
"DeliveryStatus": "sample string 11",
"DeliveryTime": 1,
"ReadTime": 1,
"lastModified": 12,
"senderType": "sample string 13",
"syncedWithPoet": true,
"syncedWithSupervisor": true
}
]
application/xml, text/xml
Sample:
<ArrayOfMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoetAPI.Models">
<Message>
<AudioUrl>sample string 8</AudioUrl>
<Content>sample string 6</Content>
<DeliveryStatus>sample string 11</DeliveryStatus>
<DeliveryTime>1</DeliveryTime>
<ImageUrl>sample string 7</ImageUrl>
<MessageId>sample string 1</MessageId>
<ReadTime>1</ReadTime>
<ReceiverId>sample string 5</ReceiverId>
<RoomId>sample string 3</RoomId>
<SenderId>sample string 4</SenderId>
<Timestamp>10</Timestamp>
<VideoUrl>sample string 9</VideoUrl>
<lastModified>12</lastModified>
<localId>sample string 2</localId>
<senderType>sample string 13</senderType>
<syncedWithPoet>true</syncedWithPoet>
<syncedWithSupervisor>true</syncedWithSupervisor>
</Message>
<Message>
<AudioUrl>sample string 8</AudioUrl>
<Content>sample string 6</Content>
<DeliveryStatus>sample string 11</DeliveryStatus>
<DeliveryTime>1</DeliveryTime>
<ImageUrl>sample string 7</ImageUrl>
<MessageId>sample string 1</MessageId>
<ReadTime>1</ReadTime>
<ReceiverId>sample string 5</ReceiverId>
<RoomId>sample string 3</RoomId>
<SenderId>sample string 4</SenderId>
<Timestamp>10</Timestamp>
<VideoUrl>sample string 9</VideoUrl>
<lastModified>12</lastModified>
<localId>sample string 2</localId>
<senderType>sample string 13</senderType>
<syncedWithPoet>true</syncedWithPoet>
<syncedWithSupervisor>true</syncedWithSupervisor>
</Message>
</ArrayOfMessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.