Web service misc action

From KnowledgeTree Document Management Made Simple

Jump to: navigation, search

list of document types

Adding a document to KnowledgeTree requires that a document type being specified.

get_document_types ( session : string ) :  kt_document_types_response

session is a required parameter returned by the authentication process.

Pseudocode:

doc_type_response = webservice.get_document_types(session)

raise Exception if doc_type_response.status_code != 0

for i = 0 to doc_type_response.document_types.length - 1
begin

 print doc_type_response.document_types[i]

end

list of client policies

A client application can request policies and settings that are maintained on the server. The policies may be useful to the client application to possibly enhance and/or control the user experience.

get_client_policies ( session : string, client  : string) :  kt_client_policies_response 


Parameters:

  • session is a required parameter returned by the authentication process.
  • client is the name of the application.

It may be possible for client policies to be different based on the client application.

list of link types

It may be useful to link documents to one another. When linking documents, it may be required to specify how they are related.

get_document_link_types ( session : string ) :   kt_document_types_response 

session is a required parameter returned by the authentication process.

The return structure contains a list of types that may be chosen from.

Personal tools