getResources()
The ZohoSalesIQ.KnowledgeBase.getResources API allows to get a list of resources (articles). To get a specific resource list, use the below parameters as filters.
Parameters:
- resourceType * - (Article) The type of the resource.
- departmentId (Optional) - Department ID to fetch resource associated with it.
- parentCategoryId (Optional) - Category Id to get the articles.
- page (Optional) - Specify the number of pages. (Default value is 1)
- limit (Optional) - Specify the number of articles to be fetched for a page. (Default & maximum value is 99)
- listener * - The callback to get the resources.
Note:
- The content in the resource object will be null by default. To get the resource content, use the getSingleResource() API.
- Fields marked * are mandatory
Error code
Code | Message |
---|---|
500 | Mobilisten SDK not initialized |
600 | No network connection |
605 | Mobilisten is disabled |