Jump to: navigation, search

SetCallContact

This operation is part of the UCS Integration with Voice API section of the Web Services API.

Overview

This operation sets the Contact ID.

Request URL /api/v2/ucs/interactions/{interactionId}
HTTP method POST
Required features One of the following:
  • api-voice
  • api-ucs-voice

Parameters

Parameter Value
operationName SetCallContact
contactPath The path to the contact.

Sample

Request

POST /api/v2/ucs/interactions/{interactionId} 
{
  "operationName": "SetCallContact",
  "contactPath": "/path/{contactId}"
}

HTTP response

{
  "statusCode": 0
}

CometD notifications

Success

{
 "referenceId": 123,
 "messageType": "UcsOperationResponse",
 "success": true
}

Error

{
 "referenceId": 123,
 "messageType": "UcsOperationResponse",
 "success": false,
 "errorMessage": "UCS request failed"
}

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on January 27, 2017, at 11:02.