Jump to: navigation, search

AttachUserData

This operation is part of the Facebook API section of the Web Services API.

Overview

Adds the specified data to the interaction's UserData.

Request URL /api/v2/me/facebook/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName AttachUserData
userData The key value data to attach.

Samples

Request

POST api/v2/me/facebook/01QG4HAN88NP400J
{
  "operationName": "AttachUserData",
  "userData": {
      "UserData1":"DATA1",
      "UserData2":123456789  
   }
}

HTTP Response

{
  "statusCode": 0,
  "referenceId": 27
}

CometD Response

{
   "referenceId": 11,
   "facebook": {
       "userData": {
           "UserData2": 123456789,
           "UserData1": "DATA1"
       },
       "uri": "http: //192.168.83.25: 8090/api/v2/facebooks/01QG4HAN88NP400J",
       "capabilities": [
           "Cancel",
           "Send",
           "AddComment",
           "AttachUserData",
           "UpdateUserData",
           "DeleteUserData",
           "SetDisposition",
           "SetInFocus",
           "Transfer"
       ],
       "state": "Composing",
       "facebookType": "Outbound",
       "id": "01QG4HAN88NP400J"
   },
   "notificationType": "PropertiesUpdated",
   "messageType": "FacebookStateChangeMessage"
}
This page was last edited on October 31, 2023, at 13:29.
Comments or questions about this documentation? Contact us for support!