Jump to: navigation, search

Transfer

This operation is part of the SMS Session API section of the Web Services API.

Overview

This transfers an SMS session to another agent or to a queue.

Request URL /api/v2/me/smssessions/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName Transfer
targetUri or queueName user or queue to transfer to

Sample

Request

Transfer to Agent

POST api/v2/me/smssessions/0071023821aec011
{
  "operationName": "Transfer",
  "targetUri": "http://localhost:8080/api/v2/contacts/e62d21e405a04274bd6bbcaf78bd8c38"
}

Transfer to Queue

POST api/v2/me/smssessions/0071023821aec011
{
  "operationName": "Transfer",
  "queueName": "test-queue"
}

Response

{
  "statusCode": 0
}

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on November 4, 2016, at 09:53.