Revision as of 17:17, September 29, 2015 by Jumunn (talk | contribs) (Created page with "= AddComment= __NOTOC__ This operation is part of the Facebook Private Messaging API section of the Genesys Web Services REST API. <h2> Overview </...")
AddComment
This operation is part of the Facebook Private Messaging API section of the Genesys Web Services REST API.
Overview
This request sets the comment for the specified facebook session.
| Request URL | /api/v2/me/facebooksession/{id} |
|---|---|
| HTTP Method | POST |
| Required Features | api-multimedia |
Parameters
| Parameter | Value |
|---|---|
| operationName | AddComment |
| comment | A string value to be used for the facebooksession comment. |
Sample
Request
POST api/v2/me/facebooksession/0000Na9B26EF003M
{
"operationName": "AddComment",
"comment": "Some facebook session comment text"
}Response
{
"statusCode": 0
}Notification
{
"referenceId": 34,
"facebooksession": {
"participants": [
{
"nickname": "TestName",
"type": "Agent",
"participantId": "009052C73228006D"
},
{
"nickname": "FirstL",
"type": "Customer",
"participantId": "009052C73223006B"
}
],
"state": "Chatting",
"id": "0000Na9B26EF003M",
"capabilities": [
"Transfer",
"Complete",
"Leave",
"InFocus",
"SendMessage",
"SendStartTypingNotification",
"SendStopTypingNotification"
],
"comment": "Some chat comment text",
"uri": "http: //localhost:8080/api/v2/facebooksession/0000Na9B26EF003M"
},
"notificationType": "PropertiesUpdated",
"messageType": "FacebooksessionStateChangeMessage"
}
Comments or questions about this documentation? Contact us for support!
