Legacy Dev Forum Posts

 View Only

Sign Up

Conversation Notification Wrap ups Doubt

  • 1.  Conversation Notification Wrap ups Doubt

    Posted 06-05-2025 18:04

    Twin_Engines | 2016-08-09 16:36:58 UTC | #1

    Hello,

    I am using the notes in the wrap ups to get data from the CSR and i know it must have a code set up for it to be added to the conversation, so if for example i have 5 different wrap up codes and the CSR selects the ORDER one my guess is the code i will get is the ID for that wrap up type, so each time someone selects that wrap up i will always get that same code, that being said is there a way for me to get the list of available wrap ups so i can determinate what type of wrap up is when i get a notification of the conversation?

    Thanks


    tim.smith | 2016-08-09 17:08:56 UTC | #2

    Take a look at the wrap up resources in the Conversations category. GET /api/v2/conversations/calls/{{callId}}/participants/{{participantId}}/wrapupcodes will give you a list of the wrap up codes available to the participant.


    Twin_Engines | 2016-08-09 17:35:29 UTC | #3

    Thank, i just tried to use it (the email one) and the first thing i see is the SDK method for this returns an Object, not a list, also i just tried to get the email id from the conversation notification but all the emails in the conversation has a null value in the id, is there a reason for those emails in the list to have a null value for the id?


    tim.smith | 2016-08-09 17:46:02 UTC | #4

    It looks like the documentation doesn't match the actual response (single item vs an array). I've created API-1827 to get this fixed. I should be able to get that checked in today, but it will be a few days until the fix makes it to production and the SDKs get the fix.

    In the meantime, you can work around this manually if you build the SDK yourself or make that one request manually using RestSharp. If you modify the SDK, you'll need to modify all of the return types for the method (I believe it should be List<WrapUpCode>) and where the response is deserialized.


    Twin_Engines | 2016-08-09 17:56:24 UTC | #5

    Ok thank you, I will try to get the request manually, you may need to check the methods for the other conversation types (calls,callbacks, etc) as well.

    The other question i have is when i tried to use it, i was trying to get the Email ID from the conversation notification i got after the CSR clicked Done in the admin plataform but all the email items in the list have NULL as value for the id therefor i can´t use the wrap up method as i need the ID value. Any thoughts on why the id is null for all emails in the conversation?


    tim.smith | 2016-08-09 17:59:58 UTC | #6

    Twin_Engines, post:5, topic:273
    Any thoughts on why the id is null for all emails in the conversation?

    That doesn't sound right at all. If you open a support ticket, Support can triage it and get the bug reported. (I can handle bugs in the public contract but backend service bugs typically need to go through support).


    system | 2017-08-28 19:26:17 UTC | #7


    This post was migrated from the old Developer Forum.

    ref: 273