Revision as of 15:10, February 18, 2014 by Clondon (talk | contribs)
Jump to: navigation, search

Accept

This operation can be performed, after a new Interaction invitation notification arrives. It is essentially one of two options an agent (user) has regarding an Interaction invitation: accepting it or rejecting it. Choosing this action will associate the Interaction to the agent. This association or "ownership" will continue until that agent performs a Complete, Transfer, or Re-direct action on the aforementioned Interaction. A successful request will result in an empty http-200 response. The true response will arrive on the cometd topic (channel) /me/interactions/

HTTP Request

POST on /me/interaction/{id}

{
"operationName":"Accept"
}

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.


Cometd Response

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