sajidali | 2016-11-23 13:26:51 UTC | #1
Hi,
I get these values as "DisconnectType" in segments for PostConversationsDetailsQuery. Other than "Transfer", i am not sure what they mean? can you please elaborate
Client Peer Endpoint
I am only looking at the agent participants.
tim.smith | 2016-11-30 16:13:03 UTC | #2
https://developer.mypurecloud.com/forum/t/disconnecttype-of-outdatedsdkversion/469/7?u=tim.smith
Ben_Carroll | 2017-01-24 21:52:34 UTC | #3
I'm not sure if this is the right place to post this, but the header matches exactly what I'm looking for.
Looking at the result from ApiResponse<AnalyticsConversationQueryResponse> result = api.PostConversationsDetailsQueryWithHttpInfo(body);
Conversations, Participants, and Sessions have unique identifiers. When I get to Segments, however, there is none I can see.
Am I missing something?
tim.smith | 2017-01-24 21:54:42 UTC | #4
You are correct, there is not an ID property on the segment.
Ben_Carroll | 2017-01-24 21:55:21 UTC | #5
Is there any way for me to uniquely identify a segment?
tim.smith | 2017-01-25 15:52:31 UTC | #6
There isn't a guid attached to the segment. Segments are only ever returned as a property of a participant, so there's no case that would require a unique identifier in the context of the API. Do you have a use case for needing an ID on the segment?
Ben_Carroll | 2017-01-25 15:57:29 UTC | #7
To store the segments locally for use in internal reporting.
tim.smith | 2017-01-25 16:03:26 UTC | #8
If you're trying to flatten them to fit into a relational database, I'd say either generate your own autoincrementing ID, generate your own guid, or use a hash of the object as its identifier (because there are timestamps in the object, a hash should be unique).
Ben_Carroll | 2017-01-25 16:34:11 UTC | #9
At any point in time after it's initial creation, can a segment's data be modified?
tim.smith | 2017-01-25 18:34:16 UTC | #10
Short answer: Yes.
Long answer: Yes, but it's unlikely after the conversation is completely disconnected and wrap up codes have been assigned.
system | 2017-08-28 19:29:01 UTC | #11
This post was migrated from the old Developer Forum.
ref: 662