Jump to: navigation, search
(Auto-creation of topic Documentation:HTCC:API:TwitterSend:8.5.2 via TOC Documentation:HTCC:APITOC8.5.2)
 
Line 1: Line 1:
= TwitterSend=
+
=Send=
 +
__NOTOC__
 +
 
 +
This operation is used to send agent created data to the Twitter API for publishing.
 +
 
 +
== HTTP Request ==
 +
POST on '''/me/interactions/{id}'''
 +
<pre>
 +
{
 +
"operationName":"Send",
 +
"queueName": name of the queue where to place outbound Twitter interactions,
 +
"replyText": user generated text,
 +
"monitorKey": name of the Twitter monitor chosen by the User during create posts
 +
}
 +
</pre>
 +
== HTTP Response ==
 +
 
 +
===Success===
 +
<pre>
 +
{
 +
"statusCode": 0
 +
}
 +
</pre>
 +
===Failure===
 +
<pre>
 +
{
 +
"statusCode": an integer value above 0,
 +
"statusMessage":details
 +
}
 +
</pre>
 +
For details on the statusCode value, please refer to the All Methods sub-section of the Return Values section.
  
 
[[Category:V:HTCC:8.5.2]]
 
[[Category:V:HTCC:8.5.2]]

Revision as of 15:14, February 18, 2014

Send

This operation is used to send agent created data to the Twitter API for publishing.

HTTP Request

POST on /me/interactions/{id}

{
"operationName":"Send",
"queueName": name of the queue where to place outbound Twitter interactions,
"replyText": user generated text,
"monitorKey": name of the Twitter monitor chosen by the User during create posts
}

HTTP Response

Success

{
"statusCode": 0
}

Failure

{
"statusCode": an integer value above 0,
"statusMessage":details
}

For details on the statusCode value, please refer to the All Methods sub-section of the Return Values section.

Comments or questions about this documentation? Contact us for support!