FAQ.openArticle()

This API can be used to open any article from your SalesIQ knowledge base. Article ID of the article to be opened is to be given to this API. The articleID of the chat can be obtained from various APIs including the .FAQ.getArticles() API in the key name as "id".

Parameters:

NameDescription
articleIDID of the article to be fetched

Error Codes:

CodeMessage 
603no article found for the given id
605mobilisten disabled

Syntax:

CopiedZohoSalesIQ.FAQ.openArticle(articleID);

Example:

CopiedZohoSalesIQ.FAQ.openArticle("articleID", new OpenArticleListener() 
{
   @Override
   public void onSuccess() 
  {
     //your code here
  }
   @Override
   public void onFailure(int code, String message) 
  {
     //your code here
  }
});