Line 1: | Line 1: | ||
=Create= | =Create= | ||
+ | __NOTOC__ | ||
This operation can be performed to create a new interaction of type Twitter. The new interaction data will arrive via CometD notification. | This operation can be performed to create a new interaction of type Twitter. The new interaction data will arrive via CometD notification. | ||
Revision as of 15:19, February 18, 2014
Create
This operation can be performed to create a new interaction of type Twitter. The new interaction data will arrive via CometD notification.
HTTP Request
POST on /me/interactions/
{ "operationName":"Create", "queueName":name-of-queue-where to store the interaction (e.g. Twitter Outbound Queue), "channel":"Twitter" "interactionType":type of the interaction to be created (e.g. Outbound), "interactionSubType":subtype of the interaction to be crated (e.g. OutboundNew) }
HTTP Response
Success
{ "statusCode": 0 }
Failure
{ "statusCode": an integer value above 0, "statusMessage":details }
Cometd Response
Comments or questions about this documentation? Contact us for support!