.getArticleCategories()

Note: This API was deprecated in version 4.0.0. Use knowledgeBase.getCategories() instead.

This API can be used to obtain the list of FAQ categories from your SalesIQ knowledge base with the below properties.

SIQArticleCategory class contains the following properties:

PropertyDatatypeDescription
idStringID of the category
nameStringName of the category
articleCountintCount of the article in the corresponding category

Error handling:

CodeMessage
600no network connection
605mobilisten disabled
609salesiq api exception

Usage

CopiedZohoSalesIQ.getArticleCategories.then((categoryList){
  // your code goes here
}).catchError((error){
  // your code to handle errors
});