Commit 6644f598f4ffb0cdfa5e0c0b206f0e17ffbca6e1

Authored by conradverm
1 parent be513d9d

"KTS-2020"

"Web Service functions for 'small_document' need to be aliased."
Implemented.

Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6695 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 29 additions and 2 deletions
ktwebservice/webservice.php
... ... @@ -378,6 +378,12 @@ class KTWebService
378 378 'out' => array( 'return' => "{urn:$this->namespace}kt_response" ),
379 379 );
380 380  
  381 + // checkin_base64_document
  382 + $this->__dispatch_map['checkin_base64_document'] =
  383 + array('in' => array('session_id'=>'string','document_id'=>'int','filename'=>'string','reason' =>'string','base64' =>'string', 'major_update'=>'boolean' ),
  384 + 'out' => array( 'return' => "{urn:$this->namespace}kt_response" ),
  385 + 'alias' => 'checkin_small_document'
  386 + );
381 387  
382 388 // add_document
383 389 $this->__dispatch_map['add_document'] =
... ... @@ -390,7 +396,16 @@ class KTWebService
390 396 array('in' => array('session_id'=>'string','folder_id'=>'int','title'=>'string','filename'=>'string','documentype' =>'string','base64' =>'string' ),
391 397 'out' => array( 'return' => "{urn:$this->namespace}kt_document_detail" ),
392 398 );
393   -
  399 +
  400 + // add_base64_document
  401 + $this->__dispatch_map['add_base64_document'] =
  402 + array('in' => array('session_id'=>'string','folder_id'=>'int','title'=>'string','filename'=>'string','documentype' =>'string','base64' =>'string' ),
  403 + 'out' => array( 'return' => "{urn:$this->namespace}kt_document_detail" ),
  404 + 'alias' => 'add_small_document'
  405 +
  406 + );
  407 +
  408 +
394 409 // get_document_detail_by_name
395 410 $this->__dispatch_map['get_document_detail_by_name'] =
396 411 array('in' => array('session_id' => 'string', 'document_name' => 'string', 'what'=>'string' ),
... ... @@ -409,6 +424,12 @@ class KTWebService
409 424 'out' => array('return' => "{urn:$this->namespace}kt_response" ),
410 425 );
411 426  
  427 + // checkout_base64_document
  428 + $this->__dispatch_map['checkout_base64_document'] =
  429 + array('in' => array('session_id'=>'string','document_id'=>'int','reason' =>'string','download' => 'boolean'),
  430 + 'out' => array('return' => "{urn:$this->namespace}kt_response" ),
  431 + 'alias' => 'checkout_small_document'
  432 + );
412 433  
413 434 // undo_document_checkout
414 435 $this->__dispatch_map['undo_document_checkout'] =
... ... @@ -428,7 +449,13 @@ class KTWebService
428 449 'out' => array('return' => "{urn:$this->namespace}kt_response" ),
429 450 );
430 451  
431   -
  452 + // download_base64_document
  453 + $this->__dispatch_map['download_base64_document'] =
  454 + array('in' => array('session_id'=>'string','document_id'=>'int' ),
  455 + 'out' => array('return' => "{urn:$this->namespace}kt_response" ),
  456 + 'alias' => 'download_small_document'
  457 + );
  458 +
432 459 // delete_document
433 460 $this->__dispatch_map['delete_document'] =
434 461 array('in' => array('session_id'=>'string','document_id'=>'int','reason'=>'string'),
... ...