Improvements in RESTful Interfaces
The following changes are made in the following interfaces.
Restful Contact Management Interface (CMI)
Third-party applications can add chat conversations to Sinch Contact Pro. The conversations are like any other interactions in the system but marked as closed by default. This is useful in SMS marketing or chatbot cases in which you want to store the conversations in Sinch Contact Pro.
These added conversations (subtype text, sms, whatsapp, or telegram) have their own GUID and are excluded from billable conversations.
CMI now provides the following data for contacts:
- Connection time
- Waiting time
- Talking time
- Wrap-up time
RCI: New Fields
- crmId
- businessObjectsId
- presenceId
Restful Monitoring Interface (RMI) improvements
The SQL query of request contactSummaries has been optimized and changeTimeStamp value fixed to be checked for active conversations (contacts) as well.
Restful Analytics Interface (RAI) improvement
The query used by request contactHistory has been optimized.
Logging improvements
Logging in Restful interfaces has been improved:
-
The duration of a HTTP request has been added to response logging.
-
Automatic logging has been added for SQL requests that take more than 10 seconds.
-
SQL logging has been added to cases where an operation fails.