(→Accept) |
|||
Line 2: | Line 2: | ||
After successfully executing this operation, a cometD notification will come with complete chat history up until this point. | After successfully executing this operation, a cometD notification will come with complete chat history up until this point. | ||
+ | |||
+ | {| | ||
+ | ! '''Operation Name''' | ||
+ | ! '''HTTP Operation''' | ||
+ | ! '''Description''' | ||
+ | ! '''Type''' | ||
+ | ! '''Permissions''' | ||
+ | |- | ||
+ | | [[ChatAccept|Accept]] | ||
+ | | POST | ||
+ | | This operation can be performed after a new interaction notification arrives. Accepting an interaction allows agents to start working on it. | ||
+ | | Chat Specific | ||
+ | | Agent | ||
+ | |- | ||
+ | |} | ||
===HTTP Request=== | ===HTTP Request=== |
Revision as of 19:29, January 15, 2014
Accept
After successfully executing this operation, a cometD notification will come with complete chat history up until this point.
Operation Name | HTTP Operation | Description | Type | Permissions |
---|---|---|---|---|
Accept | POST | This operation can be performed after a new interaction notification arrives. Accepting an interaction allows agents to start working on it. | Chat Specific | Agent |
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!