Odessa Content Sharing  





  Register now   Forgot password ?

GetChatConversations

Get the list of chat conversations

http://localhost/CheapSender/webservices/?service=GetChatConversations

[
    {                              
        "start" : "0",
        "count" : "100",
        "log_session_key" : "88405B20-E8D1-4B51-8999-1F55DE4762942017032923330",
        "log_device_id"   : "deviceid123",
        "log_user_argent" : "Firefox",
        "log_device_type" : "APPLE_PHONE"        
    }
]

 

last_message_status = 1 read 0 = unread


{"code":"0","data":[{"sender_id":"6","receiver_id":"45","inserted_date":"2017-04-22 23:52:12","last_message_status":"0","sender_name":"Anar","sender_surname":"Mamedov","receiver_name":"Anar","receiver_surname":"Mamedov","is_banned":"0"},{"sender_id":"6","receiver_id":"48","inserted_date":"2017-04-22 23:52:02","last_message_status":"0","sender_name":"Anar","sender_surname":"Mamedov","receiver_name":"Anar","receiver_surname":"Mamedov","is_banned":"0"},{"sender_id":"6","receiver_id":"49","inserted_date":"2017-04-22 23:51:48","last_message_status":"0","sender_name":"Anar","sender_surname":"Mamedov","receiver_name":"Anar","receiver_surname":"Mamedov","is_banned":"0"},{"sender_id":"6","receiver_id":"51","inserted_date":"2017-04-22 23:51:35","last_message_status":"0","sender_name":"Anar","sender_surname":"Mamedov","receiver_name":"Anarcik","receiver_surname":"Mamedbeyli","is_banned":"0"},{"sender_id":"6","receiver_id":"52","inserted_date":"2017-04-22 23:47:43","last_message_status":"0","sender_name":"Anar","sender_surname":"Mamedov","receiver_name":"Anarcik","receiver_surname":"Mamedbeyli","is_banned":"0"}]}

Example