<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://help.onea.be/index.php?action=history&amp;feed=atom&amp;title=Webservices</id>
		<title>Webservices - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://help.onea.be/index.php?action=history&amp;feed=atom&amp;title=Webservices"/>
		<link rel="alternate" type="text/html" href="https://help.onea.be/index.php?title=Webservices&amp;action=history"/>
		<updated>2026-04-04T02:28:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://help.onea.be/index.php?title=Webservices&amp;diff=2425&amp;oldid=prev</id>
		<title>Nele.scherrens: Created page with &quot;==FileUploadService==  Used to prepare a file upload to 1Archive. It contains different methods which differ on the way of authentication: * '''prepareFileUpload''': requires...&quot;</title>
		<link rel="alternate" type="text/html" href="https://help.onea.be/index.php?title=Webservices&amp;diff=2425&amp;oldid=prev"/>
				<updated>2018-08-07T09:16:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==FileUploadService==  Used to prepare a file upload to 1Archive. It contains different methods which differ on the way of authentication: * &amp;#039;&amp;#039;&amp;#039;prepareFileUpload&amp;#039;&amp;#039;&amp;#039;: requires...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==FileUploadService==&lt;br /&gt;
&lt;br /&gt;
Used to prepare a file upload to 1Archive. It contains different methods which differ on the way of authentication:&lt;br /&gt;
* '''prepareFileUpload''': requires a 1Archive login and password to authenticate&lt;br /&gt;
** ''userword'': not a username, but a userword (this should be the 1Archive username)&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
** ''contenttype'': specify the content type of the file to upload&lt;br /&gt;
** ''filesize'': specify the size of the file to upload&lt;br /&gt;
* '''prepareScanFileUpload''': requires a batchid code. This method is used for webscanning upload&lt;br /&gt;
** ''batchid'': the id of a scanning batch&lt;br /&gt;
** ''filename'': specify the name of the file to upload&lt;br /&gt;
** ''contenttype'': specify the content type of the file to upload&lt;br /&gt;
** ''filesize'': specify the size of the file to upload&lt;br /&gt;
&lt;br /&gt;
==FileUpload==&lt;br /&gt;
&lt;br /&gt;
Used to upload files to 1Archive.&lt;br /&gt;
&lt;br /&gt;
* ''id'': the id of the upload connection, can be obtained via '''[[Webservices#FileUploadService|FileUploadService]]'''&lt;br /&gt;
&lt;br /&gt;
==ScanProService==&lt;br /&gt;
&lt;br /&gt;
Used for uploading documents to 1Archive. For authentication, the 1Archive username and password are used.&lt;br /&gt;
* '''checkConnection''': can be used to check if username and password are correct (note that username and password will be sent as plain text)&lt;br /&gt;
** ''username'': the 1Archive username&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
* '''getCompanies''': returns a list of companies assigned to the given user&lt;br /&gt;
** ''username'': the 1Archive username&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
* '''getDocumentTypes''': returns a list of document types for the company with code ''companyCode'' (which can be obtained via the '''getCompanies''' call&lt;br /&gt;
** ''username'': the 1Archive username&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
** ''companyCode'': the code for the company to get the document types for&lt;br /&gt;
* '''prepareFileUpload''': this is a link to the '''prepareFileUpload''' call in the '''[[Webservices#FileUploadService|FileUploadService]]'''&lt;br /&gt;
* '''uploadDocument''': used to upload a document to 1Archive&lt;br /&gt;
** ''username'': the 1Archive username&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
** ''document'': ScanProDocument object&lt;br /&gt;
* '''uploadDocumentAndAnnotate''': used to upload a document to 1Archive and annotate it&lt;br /&gt;
** ''username'': the 1Archive username&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
** ''document'': ScanProDocument object&lt;br /&gt;
&lt;br /&gt;
==Webscanning==&lt;br /&gt;
&lt;br /&gt;
SOAP webservice for the webscanning application.&lt;br /&gt;
* '''getBatchInfo'''&lt;br /&gt;
** ''scanbatchUniqueID'': the id of a scanning batch&lt;br /&gt;
* '''checkUploadAllowed'''&lt;br /&gt;
** ''scanbatchUniqueID'': the id of a scanning batch&lt;br /&gt;
* '''fileCheck'''&lt;br /&gt;
** ''scanbatchUniqueID'': the id of a scanning batch&lt;br /&gt;
** ''tempUploadID'': upload id, which can be obtained via the '''[[Webservices#FileUploadService|FileUploadService]]'''&lt;br /&gt;
* '''uploadDocuments'''&lt;br /&gt;
** ''scanbatchUniqueID'': the id of a scanning batch&lt;br /&gt;
** ''transferxml'': document as ScanProModtransfer xml&lt;br /&gt;
* '''createScanBatch'''&lt;br /&gt;
** ''scanbatchType'': method for standalone webscanning&lt;br /&gt;
* '''validateScanBatchCode'''&lt;br /&gt;
** ''scanbatchCode'': method for standalone webscanning&lt;br /&gt;
&lt;br /&gt;
==CloudService==&lt;br /&gt;
&lt;br /&gt;
REST service for PrivateCloud utility.&lt;br /&gt;
* '''action''': possible values are:&lt;br /&gt;
** ''RequestFileUpload''&lt;br /&gt;
** ''FileUpload''&lt;br /&gt;
** ''Alive''&lt;br /&gt;
** ''GetPublicKey''&lt;br /&gt;
** ''GetDBUpdateData''&lt;br /&gt;
&lt;br /&gt;
==SyncService==&lt;br /&gt;
&lt;br /&gt;
SOAP service for importing and exporting with authentication based on a preshared key.&lt;br /&gt;
* '''serverTime''': used to obtain the time of the server, used in synchronization to check time difference&lt;br /&gt;
* '''lastSyncTime''': used to retrieve date and time of the last synchronization for a certain type and company&lt;br /&gt;
** ''syncId'': the unique synchronization id&lt;br /&gt;
** ''companyCode'': the code for the company&lt;br /&gt;
** ''syncDirection'': the direction for the synchronization. Possible values are:&lt;br /&gt;
*** ''UPLOAD''&lt;br /&gt;
*** ''DOWNLOAD''&lt;br /&gt;
** ''syncType'': the type of synchronization. Possible values are:&lt;br /&gt;
*** ''COMPANY''&lt;br /&gt;
*** ''PARTNERGROUP''&lt;br /&gt;
*** ''PARTNER''&lt;br /&gt;
*** ''DELIVERYMETHOD''&lt;br /&gt;
*** ''RECEPTIONMETHOD''&lt;br /&gt;
*** ''OPTINCONNECTION''&lt;br /&gt;
*** ''USER''&lt;br /&gt;
*** ''LOOKUPLIST''&lt;br /&gt;
*** ''LOOKUPLISTITEM''&lt;br /&gt;
*** ''DOCUMENT''&lt;br /&gt;
* '''importXml''': used to import data to 1Archive&lt;br /&gt;
** ''syncId'': the unique synchronization id&lt;br /&gt;
** ''data'': a Base64 encoded ScanProModtransfer xml&lt;br /&gt;
* '''exportXml''': used to export data from 1Archive&lt;br /&gt;
** ''syncId'': the unique synchronization id&lt;br /&gt;
** ''syncType'': the type of synchronization. Possible values are:&lt;br /&gt;
*** ''COMPANY''&lt;br /&gt;
*** ''PARTNERGROUP''&lt;br /&gt;
*** ''PARTNER''&lt;br /&gt;
*** ''DELIVERYMETHOD''&lt;br /&gt;
*** ''RECEPTIONMETHOD''&lt;br /&gt;
*** ''OPTINCONNECTION''&lt;br /&gt;
*** ''USER''&lt;br /&gt;
*** ''LOOKUPLIST''&lt;br /&gt;
*** ''LOOKUPLISTITEM''&lt;br /&gt;
*** ''DOCUMENT''&lt;br /&gt;
** ''companyCode'': the code for the company&lt;br /&gt;
&lt;br /&gt;
==ExportService==&lt;br /&gt;
&lt;br /&gt;
SOAP export service.&lt;br /&gt;
&lt;br /&gt;
* '''getDocument''': used to get a document by id as a ScanProModtransfer xml&lt;br /&gt;
** ''username'': the 1Archive username&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
** ''docId'': the id of the document in 1Archive&lt;br /&gt;
* '''getAttachment''': used to get an attachment by id as a ScanProModtransfer xml&lt;br /&gt;
** ''username'': the 1Archive username&lt;br /&gt;
** ''password'': the 1Archive password&lt;br /&gt;
** ''attachmentId'': the id of the attachment of the document&lt;/div&gt;</summary>
		<author><name>Nele.scherrens</name></author>	</entry>

	</feed>