Jump to: navigation, search

Cancel

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

Overview

Cancels a Facebook interaction.

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

Parameters

Parameter Value
operationName Cancel

Samples

Request

HTTP POST /api/v2/me/facebook/01QG4HAN88NP400J
{
  "operationName": "Cancel"
}

HTTP Response

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

CometD Response

{
"facebook": {"capabilities": [],
                "comment": "I am crazy about my test",
                "contactId": "00025aA4V4DR005N",
                "facebookType": "Outbound",
                "from": "vitaliy_onv",
                "id": "01QG4HAN88NP400J",
                "message": "Hi saved facebook!",
                "state": "Canceled",
                "subject": "Hi saved facebook!",
                "uri": "http://192.168.83.25:8090/api/v2/facebooks/01QG4HAN88NP400J",
                "userData": {"ContactId": "00025aA4V4DR005N",
                              "DISP_KEY": "resolved",
                              "FromAddress": "vitaliy_onv",
                              "UserData2": "DATAUPDATE-@123"}},
  "messageType": "FacebookStateChangeMessage",
  "notificationType": "StatusChange",
  "referenceId": 29
}
This page was last edited on January 22, 2016, at 19:56.
Comments or questions about this documentation? Contact us for support!