(Update with the copy of version: 8.5.2DRAFT) |
(Update with the copy of version: 8.5.2DRAFT) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
{| | {| | ||
! Request URL | ! Request URL | ||
− | | /api/v2/me/ | + | | /api/v2/me/tweets/{id} |
|- | |- | ||
! HTTP Method | ! HTTP Method | ||
Line 70: | Line 70: | ||
"suggestedQueueUris": [], | "suggestedQueueUris": [], | ||
"twitterType": "Outbound", | "twitterType": "Outbound", | ||
− | "uri": "http://192.168.83.25:8080/api/v2/ | + | "uri": "http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05W" |
} | } | ||
} | } | ||
Line 77: | Line 77: | ||
====Request==== | ====Request==== | ||
<source lang="text"> | <source lang="text"> | ||
− | POST api/v2/me/ | + | POST api/v2/me/tweets/01QQQG2MU214P05X |
{ | { | ||
"operationName": "Transfer", | "operationName": "Transfer", | ||
Line 118: | Line 118: | ||
], | ], | ||
"twitterType":"Outbound", | "twitterType":"Outbound", | ||
− | "uri":"http://192.168.83.25:8080/api/v2/ | + | "uri":"http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05X", |
"userData":{ | "userData":{ | ||
"CBR-IT-path_DBIDs":"", | "CBR-IT-path_DBIDs":"", |
Latest revision as of 09:47, June 24, 2020
Transfer
This operation is part of the Twitter API section of the Web Services API.
Overview
Transfers a Twitter interaction to another user or queue.
Request URL | /api/v2/me/tweets/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | Transfer |
targetPath | The userPath or queuePath to transfer to. |
Samples
Transfer to Agent
Request
POST api/v2/me/transfer/01QQQG2MU214P05W
{
"operationName": "Transfer",
"targetUri": "/users/10f8abb20c154fb28c82c68102625233"
}
HTTP Response
{
"statusCode": 0,
"referenceId": 68
}
CometD Response
{
"messageType": "TwitterStateChangeMessage",
"notificationType": "StatusChange",
"referenceId": 68,
"twitter": {
"assignedTo": "a1",
"capabilities": [
"Cancel",
"Send",
"AddComment",
"AttachUserData",
"UpdateUserData",
"DeleteUserData",
"SetDisposition",
"SetInFocus",
"Transfer"
],
"id": "01QQQG2MU214P05W",
"receivedDate": "2015-03-03 09:46:06.000+0200",
"revelantResponseTemplateGroups": [],
"state": "Composing",
"suggestedQueueUris": [],
"twitterType": "Outbound",
"uri": "http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05W"
}
}
Transfer to Queue
Request
POST api/v2/me/tweets/01QQQG2MU214P05X
{
"operationName": "Transfer",
"targetPath": "/contacts/5c7c1112-2be4-4108-9fbe-341312585616"
}
HTTP Response
{
"statusCode": 0
}
CometD Response
{
"messageType":"TwitterStateChangeMessage",
"notificationType":"StatusChange",
"referenceId":89,
"twitter":{
"assignedTo":"a1",
"capabilities":[
"Cancel",
"Send",
"AddComment",
"AttachUserData",
"UpdateUserData",
"DeleteUserData",
"SetDisposition",
"SetInFocus",
"Transfer"
],
"id":"01QQQG2MU214P05X",
"receivedDate":"2015-03-03 09:46:43.000+0200",
"revelantResponseTemplateGroups":[
],
"state":"Composing",
"suggestedQueueUris":[
],
"twitterType":"Outbound",
"uri":"http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05X",
"userData":{
"CBR-IT-path_DBIDs":"",
"CBR-Interaction_cost":"",
"CBR-actual_volume":"",
"CBR-contract_DBIDs":"",
"CustomerSegment":"default",
"PegAGSocial Media Agent Group":1,
"RRequestedSkillCombination":"",
"RRequestedSkills":None,
"RStrategyDBID":"985",
"RStrategyName":"Twitter Agent Delivery Strategy",
"RTargetAgentGroup":"Social Media Agent Group",
"RTargetAgentSelected":"a2",
"RTargetObjSelDBID":"117",
"RTargetObjectSelected":"Social Media Agent Group",
"RTargetPlaceSelected":"a2",
"RTargetRequested":"Social Media Agent Group",
"RTargetRuleSelected":"",
"RTargetTypeSelected":"2",
"RTenant":"Environment",
"RVQDBID":"",
"RVQID":"",
"ServiceObjective":0,
"ServiceType":"default"
}
}
}
This page was last edited on June 24, 2020, at 09:47.
Comments or questions about this documentation? Contact us for support!