We are in a process to migrate or web chat to web messaging, or chat bot is a third party and we need to use APIs to connect to genesys cloud. API for connection work great but not able to transfer data attributes, custom or regular like interaction ID. In comunity there are some reference to javascript datase.set:
Genesys("command", "Database.set", { messaging: { customAttributes: { genesys_url: window.location.href, browser_language: navigator.language } } });
we tried this with no luck:
{
"action": "onMessage",
"message": {
"type": "Event",
"events": [
{
"eventType": "Presence",
"presence": {
"type": "Join"
}
}
]
},
"tracingId": tracingId,
"token": token,
"user": {
"name": "John",
"customFields": {
"customerid": "123456",
"lang": 'eng',
"subject": "XYZ",
"lname": "Doe",
"fname":"John",
}
},
"routingTarget": {
"targetType": 'Queue',
"targetAddress": "office365"
}
all ideas are really appreciated
Jaime
#API/Integrations------------------------------
Jaime Hall
Electronic engineer
------------------------------