getSingleResource()
The ZohoSalesIQ.KnowledgeBase.getSingleResource API allows getting details of a resource.
Parameters:
- type * - Type of the resource
- id * - ID of the resource
- resource - The callback to get the resource details.
- error - The callback function to get the error.
Error Codes:
Code | Message |
---|---|
500 | Mobilisten SDK not initialized |
600 | No network connection |
605 | Mobilisten SDK is disabled |
Example
CopiedZohoSalesIQ.KnowledgeBase.getSingleResource(ZohoSalesIQ.Resource.ARTICLES, 'id', function(resource) {
}, function(error) {
})