getCallCenterSettings() for Salesforce Classic

Returns the call center settings in the call center definition file as a JSON string. For more information, see Call Center Definition Files.

NameTypeDescription
callbackfunctionJavaScript method executed when the API method call is completed.

This method is asynchronous. The response is returned in an object passed to a callback method. The response object contains the following fields.

NameTypeDescription
resultstringIf the API call was successful, the call center settings definition is returned as a JSON string. If the API call failed, null is returned.
errorstringIf the API call was successful, this variable is undefined. If the API call failed, this variable returns an error message.