The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
conversations:
[
{
id: 00000000000000000000000000000000,
conversationID: 00000000000000000000000000000000,
userID: 00000000000000000000000000000000
}
],
messages:
[
{
id: 00000000000000000000000000000000,
senderID: 00000000000000000000000000000000,
conversationID: 00000000000000000000000000000000,
timestamp: 0001-01-01,
text: String,
acknowledged: False,
timestampAcknowledged: 0001-01-01,
read: False,
timestampRead: 0001-01-01
}
],
timestamp: 0001-01-01,
success: False,
errorMessage: String,
errorCode: 0
}