This method is used when you want to list the detailed records (messages) of one of the conversations in the system. The “Id” value of the conversation that is required to be included in the “id” parameter must be given.

Authorization header should be entered as “token_type” value returned as a result of token request, space character, “Access_token” value.

As a result of the request, you can see that the detailed information of the conversation is returned in JSON format.

private static IRestResponse GetConversationDetails()
                RestClient client = new RestClient("https://api.flexxii.com/");
                RestRequest request = new RestRequest("api/Inbox/GetConversationDetails", Method.GET);
                request.AddHeader("Content-Type", "application/json; charset=utf-8");
                request.AddParameter("id", conversationDetailsId);
                request.AddHeader("Authorization", content_type + " " + access_token);

                IRestResponse response = client.Execute(request);
                return response;

Was this helpful?

0 / 0