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:

CodeMessage
500Mobilisten SDK not initialized
600No network connection
605Mobilisten 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 

})