lehelg | 2017-03-22 13:37:19 UTC | #1
Is there a reason why api/v2/routing/wrapupcodes/ doesn't retrieve the value of the Default Wrap-up Code?
If I make a call to api/v2/routing/wrapupcodes/{default wrap-up code id}/ there is a valid response returned.
--Lehel
tim.smith | 2017-03-22 15:07:31 UTC | #2
GET /api/v2/routing/wrapupcodes returns the list of configured wrap up codes. The default wrap up code is hardcoded into the system, so it does not appear in this list.
Additionally, GET /api/v2/conversations/{conversationId}/participants/{participantId}/wrapup will only return the default wrap up code if there are no wrap up codes available for that conversation. The default wrap up code is intended as a failsafe to ensure that agents don't get stuck in the case that a queue has not been correctly configured.
lehelg | 2017-03-22 15:28:01 UTC | #3
Is it a fair assumption that the Default Wrap-up code across all orgs is 7fb334b0-0e9e-11e4-9191-0800200c9a66? I have access to two different orgs, and for both of them, that is the default wrap-up code.
--Lehel
tim.smith | 2017-03-22 15:50:55 UTC | #4
Yes, that one is hard coded in the system.
system | 2017-08-28 19:33:14 UTC | #5
This post was migrated from the old Developer Forum.
ref: 1084