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.
Comments or questions about this documentation? Contact us for support!