application/xml;charset=UTF-8 workaround

Hi All,

I have an api that I need to get at that's returning a content type header of application/xml;charset=UTF-8, whereas genesys is looking for application/json.

There's another post out here advising that the request body needs to use the "$esc.url()" method... I'm having a hard time following the example he gave. Is anyone else familiar with doing this?

Thanks.

Data Actions do not support XML endpoints, nor is there any plan to do so. Either the endpoint would need to be updated to support JSON, or a translation web service would need to be in the middle. I believe that PS may have created a service for doing XML translation for you, you should be able to ask your sales person if this still exists.

Another option for a translation service is mentioned here:


Where you create a lambda data action that takes care of interacting with your XML endpoint.

--Jason

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.