Skip to main content

.getArticlesWithCategoryID()

Note: This API was deprecated in version 7.0.0. Use KnowledgeBase.getResources() instead.

This API allows you to fetch the list of published articles from the specific category in your SalesIQ knowledge base. The ID of the category needs to be passed as a parameter to the API.

Parameters:

NameDescription
categoryIDUnique ID of the category

Callbacks:

NameDescription
errorError is returned if an error occurs while using the API. The list of possible error codes returned by the API are listed below.
articleListList of articles

Error Codes:

CodeMessage
500mobilisten not initialized
605mobilisten disabled
608invalid category id
600 no network connection

Syntax:

CopiedZohoSalesIQ. getArticlesWithCategoryID(categoryID, (error, articleList)=> 
{
   //your code
});

Example

CopiedZohoSalesIQ. getArticlesWithCategoryID("10001", (error, articleList)=> 
{
   //your code
});