cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337
Views
10
Helpful
2
Replies

Contact Center Express external API Call

Jrod Alley
Level 1
Level 1

Hoping someone can shed light on an issue I'm running into. I have a script that has a final step of making an API call to a hosted solution (Moveworks). The goal is to send a POST request to the Moveworks platform which, if properly done, will then send automated messages to our user base in our collab platform if they abandon their call into our help desk. However, the attached script always returns a 412 response. Reached out to Cisco TAC and asked whether the proxy configuration settings need to be defined on the CCX server System Parameters but they couldn't help, resting on the "Custom Scripts are not TAC supported" logic. If anyone could provide some insight into what I am missing or comment on whether this is even feasible I'd really appreciate it.  

2 Replies 2

b.winter
VIP
VIP

Hi,

I don't have any answer to your post.

But have you checked, why you get 412? It means something like "the server doesn't meet any preconditions, which the client (UCCX in your case) is sending in it's request headers.
Have you tried to send the post with a different client?

In general I guess, your question is better suited in the DevNet forum: https://community.cisco.com/t5/developer-collaboration/ct-p/j-developer-collab

Jonathan Schulenberg
Hall of Fame
Hall of Fame

It doesn’t like one of the HTTP headers CCX included or - more likely - didn’t. Get this working in Postman or an equivalent client and configure the Make REST Call step with the same headers. My guess is that it wants Content-Type and Accept headers to understand your POST body and how you expect the response to be formatted.