setCallAttachedData()

Sets the call data associated with a call object ID. Use to get information or send information between an interaction log and a custom console component.This method is only available in API version 31.0 or later.

NameTypeDescription
callObjectIdstringThe object ID of the call.
callDatastringJSON string that specifies the data to attach to the call.
callTypestringString that specifies the call type, such as internal, inbound, or outbound.
callbackfunctionJavaScript method called upon completion of the method.

This method is asynchronous, so it returns its response in an object in a callback method. The response object contains the following field:

NameTypeDescription
successbooleantrue if the event firing was successful; false otherwise.