open()

The ZohoSalesIQ.KnowledgeBase.open API helps to open a specific 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
18008Provide a valid language code
18009Provided language code is not supported
500Mobilisten SDK not initialized
600No network connection
605Mobilisten SDK is disabled

Syntax

CopiedZohoSalesIQ.KnowledgeBase.open(resource: SIQResourceType, id: String, completion: { Bool, SIQError in 

})

Example

CopiedZohoSalesIQ.KnowledgeBase.open(.articles, id: "001" , completion: { success, error in 

})