Jump to: navigation, search
(HTTP Response)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=Cancel=
 
=Cancel=
 
__NOTOC__
 
__NOTOC__
This operation is part of the [[Twitter|Twitter API]] section of the [[Welcome|Genesys Web Services REST API]].
+
This operation is part of the [[Twitter|Twitter API]] section of the [[Welcome|Web Services API]].
 
==Overview==
 
==Overview==
 
Cancels a Twitter interaction.
 
Cancels a Twitter interaction.
 
{|
 
{|
 
! Request URL
 
! Request URL
| /api/v2/me/twitter/{Id}
+
| /api/v2/me/tweets/{Id}
 
|-
 
|-
 
! HTTP Method
 
! HTTP Method
Line 27: Line 27:
 
===Request===
 
===Request===
 
<source lang="text">
 
<source lang="text">
POST /api/v2/me/twitter/01QQQG2MU214P05G
+
POST /api/v2/me/tweets/01QQQG2MU214P05G
 
{
 
{
 
   "operationName": "Cancel"
 
   "operationName": "Cancel"
Line 54: Line 54:
 
       "state":"Canceled",
 
       "state":"Canceled",
 
       "twitterType":"Outbound",
 
       "twitterType":"Outbound",
       "uri":"http://192.168.83.25:8080/api/v2/twitters/01QQQG2MU214P05G"
+
       "uri":"http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05G"
 
   }
 
   }
 
}
 
}

Latest revision as of 07:07, June 23, 2020

Cancel

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

Overview

Cancels a Twitter interaction.

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

Parameters

Parameter Value
operationName Cancel

Samples

Request

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

HTTP Response

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

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/tweet/01QQQG2MU214P05G"
   }
}
This page was last edited on June 23, 2020, at 07:07.
Comments or questions about this documentation? Contact us for support!