getSingleResource()
The ZohoSalesIQ.KnowledgeBase.getSingleResource API allows getting details of a resource.
Parameters:
- resource * - (articles) Type of the resource
- id * - ID of the resource
- completion - The callback to get the resources.
Note: Fields marked * are mandatory.
Error Codes:
Code | Message |
---|---|
500 | Mobilisten SDK not initialized |
600 | No network connection |
605 | Mobilisten SDK is disabled |
Syntax
CopiedZohoSalesIQ.KnowledgeBase.getSingleResource(resource: SIQResourceType, id: String, completion: { Bool, SIQError, SIQKnowledgeBaseResource in
})
Example
CopiedZohoSalesIQ.KnowledgeBase.getSingleResource(.articles, id: "001", completion: { success, error, resource in
})