Web service folder info

From KnowledgeTree Document Management Made Simple

Jump to: navigation, search

accessing folder information

get_folder_detail(session : string, folder_id : integer) :  kt_folder_detail 
 
get_folder_detail_by_name(session : string, folder_name : string) :  kt_folder_detail 

Possible status_code values on response include (non-comprehensive list):

  • 0: Success
  • 22: Folder could not be resolved

get folder contents

To get the folder contents, use

get_folder_contents(session : string, folder_id : integer, depth : integer, what : string) :  kt_folder_contents 

The parameters:

  • session is the session obtained during the authentication process
  • folder_id is the id of the folder of interest
  • depth is a numeric indicating how many levels of contents should be returned
  • what is a string that is composed of D and/or F so that the function returns documents and/or folders respectively.
Personal tools