FAQ.getCategories()
Note: This API was deprecated in version 7.0.0. Use KnowledgeBase.getCategories() instead.
This API can be used to fetch the list of FAQ categories in your SalesIQ knowledge base. This API can be used to make your own UI for featuring articles. This API returns an array of SIQFAQCategory objects.
The SIQFAQCategory class contains the following properties:
Property | Description |
id | ID of the knowledge base category |
name | Name of the knowledge base category |
articleCount | Number of articles in the category |
Error Handling:
Code | Domain |
500 | Mobilisten not initialized |
605 | Mobilisten disabled |
Usage:
CopiedZohoSalesIQ.FAQ.getCategories { (error, categories) in
//your code goes here
}