Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

UpdateUserData

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

Overview

Overwrites the specified keys in the UserData with the specified values in the existing data.

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

Parameters

Parameter Value
operationName UpdateUserData
userData The key value data to update.

Samples

Request

POST api/v2/me/facebook/01QG4HAN88NP400J
{
  "operationName": "UpdateUserData",
  "userData": {
      "UserData1":987654321,
      "UserData2":"DATAUPDATE-@123"
   }
}

HTTP Response

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

CometD Response

{
   "referenceId": 13,
   "facebook": {
       "userData": {
           "UserData2": "DATAUPDATE-@123",
           "UserData1": 987654321
       },
       "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 January 22, 2016, at 19:56.

Feedback

Comment on this article:

blog comments powered by Disqus