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.
| Name | Type | Description |
|---|---|---|
callback | function | JavaScript 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.
| Name | Type | Description |
|---|---|---|
result | string | If the API call was successful, the call center settings definition is returned as a JSON string. If the API call failed, null is returned. |
error | string | If the API call was successful, this variable is undefined. If the API call failed, this variable returns an error message. |