.getCategories()
Note: This API was deprecated in version 6.0.0. Use KnowledgeBase.getCategories() instead.
This API can be used to obtain the list of FAQ categories from your SalesIQ knowledge base.
Callbacks:
| Name | Description |
| error | Error is returned if an error occurs while using the API. The list of possible error codes returned by the API is listed below. |
| categories | List of categories |
Error Codes:
| Code | Message |
| 600 | no network connection |
| 605 | mobilisten disabled |
| 500 | mobilisten not initialized |
| 609 | salesIQ api exception |
Usage
CopiedZohoSalesIQ.getCategories(function(categories){
// your code goes here
}, function(error){
// your code to handle errors
});