cancel
Showing results for 
Search instead for 
Did you mean: 

New JSON Format in CAI Bot Connector API?

tobiasf1404
Discoverer

Hello Everyone,

since the new SAP CAI update, for some reason, the format of certain JSON responses has changed. These changes are not mentioned in the API Reference, so I wanted to ask, whether this was intentional or not.

A Sample can be found here, referencing the Bot Connector API and the message format in general (https://reverseproxy.cai.tools.sap/docs/api-reference/#conversations, https://cai.tools.sap/docs/concepts/structured-messages😞 Originally, the "attachment" value for each message was a nested JSON object, where it is now a string. Also, the key "participants" in the conversation model now changed to "participant", which causes a name conflict with the "participant" key in each message object.

Accepted Solutions (0)

Answers (1)

Answers (1)

jyguyomarch
Advisor
Advisor

Hi Tobias,

Thanks for the feedback. We will fix those issues and patch the system as this was not intentional but indeed a bug with the new release.

BR - Jean-Yves