(→Create) |
|||
Line 8: | Line 8: | ||
<pre> | <pre> | ||
{ | { | ||
− | "operationName":"Create", | + | "operationName":"Create", |
− | "queueName":name-of-queue-where to store the interaction (e.g. Twitter Outbound Queue), | + | "queueName":name-of-queue-where to store the interaction (e.g. Twitter Outbound Queue), |
− | "channel":"Twitter" | + | "channel":"Twitter" |
− | "interactionType":type of the interaction to be created (e.g. Outbound), | + | "interactionType":type of the interaction to be created (e.g. Outbound), |
− | "interactionSubType":subtype of the interaction to be crated (e.g. OutboundNew) | + | "interactionSubType":subtype of the interaction to be crated (e.g. OutboundNew) |
} | } | ||
</pre> | </pre> | ||
Line 20: | Line 20: | ||
<pre> | <pre> | ||
{ | { | ||
− | "statusCode": 0 | + | "statusCode": 0 |
} | } | ||
</pre> | </pre> | ||
Line 26: | Line 26: | ||
<pre> | <pre> | ||
{ | { | ||
− | "statusCode": an integer value above 0, | + | "statusCode": an integer value above 0, |
− | "statusMessage":details | + | "statusMessage":details |
} | } | ||
</pre> | </pre> | ||
− | |||
[[Category:V:HTCC:8.5.2]] | [[Category:V:HTCC:8.5.2]] |
Revision as of 17:24, March 23, 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 }
Comments or questions about this documentation? Contact us for support!