View Single Post
  #3  
Old 07-05-2016, 07:19 AM
ander548 ander548 is offline
Whiz
 
Join Date: Jun 2016
Posts: 37
ander548 has 10 reputation points
Default

Have you tried using the JSON Schema editor in the EDP Administrator Console / Event Catalog? It seems you can build complex JSON like this for your custom events but I'm curious as well whether it will work. The problem I'm having that you may have as well is that it appears the incoming response needs to have a very rigid formatting with your events family, type, version and eventBody form variables where "eventBody" contains the payload. Even if you figure out how to consume the more complicated JSON payload, I think this is going to be a big problem when trying to use 3rd party web services like yours that can't alter their response to match this rigid format. I've asked a question about this on my thread (https://support.avaya.com/forums/showthread.php?t=11740) and suggested it would be more flexible if the callback URL had an ID at the end to identify the event and direct it to the correct workflow so that the incoming response doesn't require special formatting. Good luck!
Reply With Quote