(→Accept) |
|||
Line 1: | Line 1: | ||
=Accept= | =Accept= | ||
− | This operation can be performed after a new interaction notification arrives | + | This operation can be performed after a new interaction notification arrives. |
− | After successfully executing this operation, a | + | Accepting allows the agent to start working on an interaction. |
+ | |||
+ | After successfully executing this operation, a [[Documentation:HTCC:API:CometDNotifications:8.5.2|CometD notification]] will arrive with complete chat history. | ||
===HTTP Request=== | ===HTTP Request=== |
Revision as of 14:24, March 24, 2014
Accept
This operation can be performed after a new interaction notification arrives.
Accepting allows the agent to start working on an interaction.
After successfully executing this operation, a CometD notification will arrive with complete chat history.
HTTP Request
POST on /me/interactions/{id}
{ "operationName":"Accept", "nickname":agent-nickname-to-be-displayed-in-chat }
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!