.getArticles()
This API can be used to fetch a list of articles from your SalesIQ knowledge base. The API returns a list of instances of the SIQArticle class which contains information for each article.
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 are listed below |
| articleList | List of articles |
SIQArticle class contains the following properties:
| Property | Datatype | Description |
| id | String | ID of the article |
| articleName | String | Name of the article |
| categoryID | String | ID of the article category |
| categoryName | String | Name of the article category |
| viewCount | int | Number of times the article was viewed |
| likeCount | int | Number of times the article was liked |
| dislikeCount | int | Number of times the article was disliked |
| createdTime | DateTime | Time at which the article was created |
Error Codes:
| Code | Message |
| 500 | mobilisten not initialized |
| 605 | mobilisten disabled |
| 600 | no network connection |