(→Accept) |
|||
Line 9: | Line 9: | ||
<pre> | <pre> | ||
{ | { | ||
− | "operationName":"Accept" | + | "operationName":"Accept" |
} | } | ||
</pre> | </pre> | ||
Line 17: | Line 17: | ||
<pre> | <pre> | ||
{ | { | ||
− | "statusCode": 0 | + | "statusCode": 0 |
} | } | ||
</pre> | </pre> | ||
+ | |||
===Failure=== | ===Failure=== | ||
<pre> | <pre> | ||
{ | { | ||
− | "statusCode": an integer value above 0, | + | "statusCode": an integer value above 0, |
− | "statusMessage":details | + | "statusMessage":details |
} | } | ||
</pre> | </pre> | ||
+ | |||
For details on the statusCode value, please refer to the All Methods sub-section of the Return Values section. | 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 17:22, March 23, 2014
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.
Comments or questions about this documentation? Contact us for support!