Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vendors:cisco:uc:ece:messaging-api [2025/08/01 13:03] – [Start Conversation] gerardorourkevendors:cisco:uc:ece:messaging-api [2025/10/20 08:16] (current) – [Start Conversation] gerardorourke
Line 165: Line 165:
  
 This can then be used to show or hide a "Agent is typing..." notification  This can then be used to show or hide a "Agent is typing..." notification 
 +
 +The below also gives an example of setting a custom attribute - which in this the attribute name is: "activity_test_string1"
 +The string supports only certain characters as documented below- note an example of a character which is NOT supported is the "+" symbol.
 +  * Lowercase a to z, Uppercase A to Z, Digit 0-9, @, Space, :, Dot (.), _, -, &, Comma (,), Open parenthesis (, Close parenthesis ), ?, #, =, Singlequote ', Double quote ", All characters above ASCII codeset 128
 +  * Reference: https://pubhub.devnetcloud.com/media/enterprise-chat-and-email/docs/guides/interaction-api-developer-guide/da/d9e/classcommon_1_1pages_1_1_allowed_characters_for_custom_attributes_page.html#v12_admin_common_allowed_characters_custom_attr_page
 +
 +
 +
  
  
Line 183: Line 191:
   },   },
   "activity": {   "activity": {
 +    "subject":"Hello this is a summary - max of 255 characters",
 +    "customAttributes": {
 +        "customAttribute": [
 +            {
 +                "attribName":"activity_test_string1",
 +                "attribValues":{
 +                    "attribValue":[
 +                        {
 +                            "value":"Test String Value"
 +                        }
 +                    ]
 +                }
 +            }
 +        ]
 +    },        
     "payload": {     "payload": {
         "chat": {         "chat": {
Line 198: Line 221:
         "contact": [         "contact": [
           {           {
-            "firstName": "Gerry",+            "firstName": "Charlie", 
 +            "lastName": "Cheeze",
             "email": [             "email": [
               {               {
-                "emailAddress": "gerard.orourke@eirevo.ie"+                "emailAddress": "charlie.cheeze@example.com"
               }               }
             ]             ]
Line 227: Line 251:
     },     },
     "id": "645ac530-7520-4daa-b95c-8e8cad6fcda7"     "id": "645ac530-7520-4daa-b95c-8e8cad6fcda7"
 +}
 +</code>
 +
 +==== Error Response Example ====
 +An example of an error response - if the Entry Point Modified Date was incorrect:
 +
 +===HTTP Status Code: 409 ===
 +**Body**:
 +<code JavaScript>
 +{
 +    "code": "409-100",
 +    "developerMessage": "Last modified date provided in the request body for the following  do not match : conversation.entryPointConfiguration."
 } }
 </code> </code>
  • vendors/cisco/uc/ece/messaging-api.1754049786.txt.gz
  • Last modified: 2025/08/01 13:03
  • by gerardorourke