Hello,
We use the predefined Action "Get Estimated Wait Time", to show the estimated wait time in scripts.
The action was working fine (has been published long time ago), but suddenly it stopped working.
I verified the Action with the PureCloud's Development Tools API Explorer, and I see that the JSON response sent back contains different variables then before, variables which do not show an Estimated Wait Time.
Is there anyone who came across the same problem ? Can this be solved by us ?
For information, the INPUT
{
"requestUrlTemplate": "/api/v2/routing/queues/${input.QUEUE_ID}/mediatypes/${input.MEDIA_TYPE}/estimatedwaittime",
"requestType": "GET",
"headers": {
"UserAgent": "PureCloudIntegrations/1.0",
"Content-Type": "application/x-www-form-urlencoded"
},
"requestTemplate": "${input.rawRequest}"
}
The expected response
{
"translationMap": {
"estimated_wait_time": "$.results[0].estimatedWaitTimeSeconds"
},
"translationMapDefaults": {},
"successTemplate": "{\n \"estimated_wait_time\": ${estimated_wait_time}\n}"
}
And the current response (NOT OK):
{
"results": [
{
"formula": "BEST"
}
]
}
Thx in advance
#ArchitectureandDesign#Routing(ACD/IVR)------------------------------
Steven Deferme
Quant ICT
------------------------------