Revision as of 01:01, March 19, 2015 by Jumunn (talk | contribs)
Jump to: navigation, search

Cancel

This operation is part of the Twitter API section of the Genesys Web Services REST API.

Overview

Cancels a Twitter interaction.

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

Parameters

Parameter Value
operationName Cancel

Samples

Request

POST /api/v2/me/twitter/01QQQG2MU214P05G
{
  "operationName": "Cancel"
}

HTTP Response

{
 "statusCode": 0
}

CometD Response

 {"messageType": "TwitterStateChangeMessage",
 "notificationType": "StatusChange",
 "referenceId": 12,
 "twitter": {"capabilities": [],
              "id": "01QQQG2MU214P05G",
              "state": "Canceled",
              "twitterType": "Outbound",
              "uri": "http://192.168.83.25:8080/api/v2/twitters/01QQQG2MU214P05G"}}
Field Description
messageType The category of message.
notificationType The purpose of the notification.
twitter The element containing all twitter specific data.
Comments or questions about this documentation? Contact us for support!