This method is used when you want to list the master record of one of the conversations in the system. The “Id” value of the conversation 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 information of the conversation is returned in JSON format.

GetConversationById Sample Code (C#)
private static IRestResponse GetConversationById()
{
RestClient client = new RestClient("https://api.flexxii.com");
RestRequest request = new RestRequest("api/Inbox/GetConversationById", Method.GET);
request.AddHeader("Content-Type", "application/json; charset=utf-8");
request.AddParameter("id", conversationId);
request.AddHeader("Authorization", content_type + " " + access_token);
IRestResponse response = client.Execute(request);
return response;
}
Was this helpful?
0 / 0