(Update with the copy of version: 8.5.2DRAFT) |
(Update with the copy of version: 8.5.2DRAFT) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
= SendUrl= | = SendUrl= | ||
__NOTOC__ | __NOTOC__ | ||
− | This operation is part of the [[FacebookPM|Facebook Private Messaging API]] section of the [[Welcome| | + | This operation is part of the [[FacebookPM|Facebook Private Messaging API]] section of the [[Welcome|Web Services API]]. |
<h2> Overview </h2> | <h2> Overview </h2> | ||
Line 8: | Line 8: | ||
|- | |- | ||
! scope="row"| Request URL | ! scope="row"| Request URL | ||
− | | /api/v2/me/ | + | | /api/v2/me/facebooksessions/''{id}'' |
|- | |- | ||
! scope="row"| HTTP Method | ! scope="row"| HTTP Method | ||
Line 35: | Line 35: | ||
<source lang="text"> | <source lang="text"> | ||
− | POST api/v2/me/ | + | POST api/v2/me/facebooksessions/0001Ea9Q8UVY000T |
{ | { | ||
"operationName": "SendUrl", | "operationName": "SendUrl", | ||
Line 74: | Line 74: | ||
"notificationType": "NewMessages", | "notificationType": "NewMessages", | ||
"messageType": "MessageLogUpdated", | "messageType": "MessageLogUpdated", | ||
− | "chatUri": "http://10.10.15.212:9090/api/v2/ | + | "chatUri": "http://10.10.15.212:9090/api/v2/facebooksessions/0001Ea9Q8UVY000T" |
} | } | ||
</source> | </source> |
Latest revision as of 03:10, January 24, 2019
SendUrl
This operation is part of the Facebook Private Messaging API section of the Web Services API.
Overview
This request sends a URL to all Facebook session participants.
Request URL | /api/v2/me/facebooksessions/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | SendUrl |
url | The URL to send to the customer. |
Sample
Request
POST api/v2/me/facebooksessions/0001Ea9Q8UVY000T
{
"operationName": "SendUrl",
"url": "http://www.genesys.com"
}
Response
{
"statusCode": 0
}
Notification
{
"messages": [
{
"index": 3,
"from": {
"nickname": "TestName",
"type": "Agent",
"uri": "http://10.10.15.212:9090/api/v2/users/90cc5439ff6848748e5e67811273f266",
"visibility": "All",
"participantId": "00AF537487AF0004"
},
"url": "http://google.com",
"timestamp": "2014-05-1502:24:00.000-0700",
"visibility": "All",
"type": "PushUrl",
"timestampSeconds": 1400145840000L
}
],
"notificationType": "NewMessages",
"messageType": "MessageLogUpdated",
"chatUri": "http://10.10.15.212:9090/api/v2/facebooksessions/0001Ea9Q8UVY000T"
}
This page was last edited on January 24, 2019, at 03:10.
Comments or questions about this documentation? Contact us for support!