open()
The ZohoSalesIQ.KnowledgeBase.open API helps to open a specific resource.
Parameters
- type * - (Article) Type of the resource
- ID * - ID of the resource
- success - The callback for the resource if it's failed or opened successfully
- error - The callback function to get the error.
Error codes:
| Code | Message |
|---|---|
| 18008 | Provide a valid language code |
| 18009 | Provided language code is not supported |
| 500 | Mobilisten SDK not initialized |
| 600 | No network connection |
| 605 | Mobilisten SDK is disabled |
Example
CopiedZohoSalesIQ.KnowledgeBase.open(ZohoSalesIQ.Resource.ARTICLES, 'id', function(success) {
}, function(error) {
})