user3301 | 2018-10-24 01:22:07 UTC | #1
Hi everyone, I am trying to get a conversation details by conversation id. I found the https://github.com/MyPureCloud/platform-client-sdk-dotnet handy as it wraps all PureCloud apis and I can get conversation details by:
r conversationApiClient = new ConversationsApi();
Get conversation
conversation = conversationApiClient.GetConversation(id);
Currently I am using .Net Core and linux is my operating system, however I found the client sdk is using RestSharp library for http api call in the back stage which is not well compatiable with linux environment. So I tried to use “/api/v2/analytics/conversations/{conversationId}/details” to get conversation details, but it gives back a json format conversation details in response with different format than PureCloudPlatform.Client.V2.Client.Model.Conversation. So is there any way I or any api specifically I can call to get conversation in PureCloudPlatform.Client.V2.Client.Model.Conversation's format? Thank in advance.
regards.
tim.smith | 2018-10-24 15:42:39 UTC | #2
Conversations APIs have different contracts than Analytics APIs. AnalyticsApi.GetAnalyticsConversationDetails(...) returns an AnalyticsConversation.
system | 2018-11-24 15:55:57 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3802