The Comm100 X2 platform upgrade requires a few updates while using the Webhook in Comm100 Bot and Comm100 Live Chat. You need to incorporate the following changes while calling the webhooks to upgrade from your current platform.
Intent - Answer Webhook
All request data are now camelCase in Comm100 X2.
Current Platform | Comm100 X2 |
ChatId | chatId |
BotId | botId |
IntentId | intentId |
FormValues | formValues |
To learn more on Bot Webhook, see https://github.com/jamyzhang/APIDesign/blob/master/v3/Bot%20Webhook.md
Live Chat Webhook
The Comm100 X2 platform contains an upgrade on the agentId value as integer (int ID) data type is now changed to GUID.
If you use the agent info, you need to update the following before the upgrade. For example:
Current Platform | Comm100 X2 |
{"event":"login","operator_id":1} | {"event":"login","operator_id":"01000000-0000-0000-0000-0100000192b0"} |