Changes for page Download a project (export)
Last modified by Robert Jan Daams on 2025/03/05 18:02
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -Implementati ondocumentation.WebHome1 +Implementatie dcoumentatie.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.R jDaams1 +XWiki.RoelofZwaan - Content
-
... ... @@ -16,19 +16,6 @@ 16 16 ((( 17 17 (% class="col-xs-12 col-sm-8" %) 18 18 ((( 19 -== Changelog == 20 - 21 -=== Update 2022-08-23 === 22 - 23 -As part of on-going efforts to improve performance and scalability, we have introduced a dedicated version of DataWS named DataWSExternals. This new service should be used for external API consumers. 24 - 25 -| |**URL**| 26 -|**Old**|{{code language="none"}}https://web.terraindex.com/DataWS/{{/code}}|[[https:~~/~~/web.terraindex.com/DataWS/ITWImportExportServiceASMX_V1_0.asmx?wsdl>>https://web.terraindex.com/DataWS/ITWImportExportServiceASMX_V1_0.asmx?wsdl]] 27 -|**New**|{{code language="none"}}https://web.terraindex.com/DataWSExternals/{{/code}}|[[https:~~/~~/web.terraindex.com/DataWSExternals/ITWImportExportServiceASMX_V1_0.asmx?wsdl>>https://web.terraindex.com/DataWSExternals/ITWImportExportServiceASMX_V1_0.asmx?wsdl]] 28 - 29 -(% class="wikigeneratedid" %) 30 -== == 31 - 32 32 == 1. Retreive all changed project from TerraIndex == 33 33 34 34 To retreive all changed project from the TerraIndex database since a specific timestamp, there is a webservice call you can do. This will return all project rows that have changes since the timestamp you send within the request. ... ... @@ -49,7 +49,7 @@ 49 49 "Language": "en" 50 50 }, 51 51 "LanguageCode": "en", 52 - "WebserviceVersion": "1.0",39 + "WebserviceVersion": 1, 53 53 "SearchFilter": "", 54 54 "ArchiveID": 0, 55 55 "PageSize": 30, ... ... @@ -251,7 +251,7 @@ 251 251 == 2. Retreive the project export from TerraIndex == 252 252 253 253 To request the export from TerraIndex we have a SOAP webservice. This webservice is called the ExportService, and it will provide a full project in TerraIndex Format. 254 -The format of the projectfile is documentated here: [[Documentation TerraIndex Export format - dsFieldProject.xsd>>Implementati ondocumentation.Documentation TerraIndex Export format - dsFieldProject\.xsd.WebHome]]241 +The format of the projectfile is documentated here: [[Documentation TerraIndex Export format - dsFieldProject.xsd>>Implementatie dcoumentatie.Documentation TerraIndex Export format - dsFieldProject\.xsd.WebHome]] 255 255 256 256 To start connecting this webservice, you should use this URL of the Import Export Webservice: 257 257 [[https:~~/~~/web.terraindex.com/DataWS/ITWImportExportServiceASMX_V1_0.asmx>>url:https://web.terraindex.com/DataWS/ITWImportExportServiceASMX_V1_0.asmx]] ... ... @@ -269,15 +269,12 @@ 269 269 Also fill the license and the applicationCode. //(These two fields can be requested at the TerraIndex Servicedesk.)// 270 270 5; Fill the **ExportType **'**Export_FIELD_XML_v1_0_0**’. This export corresponds with dsFieldProject.xsd and is the best XML to connect TI with. 271 271 Create at least create 2 parameters as in the image. Beacause 2 parameters are needed. 272 -//If JSON is prevered use: ExportType = 'Export_FIELD_JSON_v1_0_0'// 273 273 6; Fill the parameter with the FileName. 274 274 7; Fill the parameter with **projectID**. Instead of ‘ProjectID' it’s also possible to fill the parameter ‘ProjectCode'. 275 275 8; Send the request and wait for the reponse. In response field ‘ResultCode’ should be 'SUCCES’ when it all went OK. If not it will tell what went wrong. 276 276 9; The response field 'Filecontent’is filled if it went OK, and it contains XML you can serialize. 277 -10; an extra parameter is added calles: **UseZipStream**. The result data is default Base64 encoded, if you add UseZipStream = true, the result string is GZIPSTREAMED Base64 encoded. **At the end of this page, we have added an class as code, to parse the base64 or ZIPStream Base64 to a normal string.** 278 -*Username and password are known by each TI user and the application manager of your company can create new usernames. 263 +\\*Username and password are known by each TI user and the application manager of your company can create new usernames. 279 279 280 - 281 281 **EXAMPLE CODE** 282 282 283 283 ExportType: ... ... @@ -323,7 +323,7 @@ 323 323 <soapenv:Envelope 324 324 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 325 325 xmlns:itw="https://wsterraindex.terraindex.com/ITWorks.TerraIndex/"> 326 - <soapenv:Header ></soapenv:Header>310 + <soapenv:Header/> 327 327 <soapenv:Body> 328 328 <itw:Export> 329 329 <itw:request>