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"
}
This page was last edited on January 27, 2017, at 19:02.
Comments or questions about this documentation? Contact us for support!