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.Ro binHuisman1 +XWiki.RoelofZwaan - Content
-
... ... @@ -36,7 +36,7 @@ 36 36 "Language": "en" 37 37 }, 38 38 "LanguageCode": "en", 39 - "WebserviceVersion": "1.0",39 + "WebserviceVersion": 1, 40 40 "SearchFilter": "", 41 41 "ArchiveID": 0, 42 42 "PageSize": 30, ... ... @@ -238,7 +238,7 @@ 238 238 == 2. Retreive the project export from TerraIndex == 239 239 240 240 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. 241 -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]] 242 242 243 243 To start connecting this webservice, you should use this URL of the Import Export Webservice: 244 244 [[https:~~/~~/web.terraindex.com/DataWS/ITWImportExportServiceASMX_V1_0.asmx>>url:https://web.terraindex.com/DataWS/ITWImportExportServiceASMX_V1_0.asmx]] ... ... @@ -256,15 +256,12 @@ 256 256 Also fill the license and the applicationCode. //(These two fields can be requested at the TerraIndex Servicedesk.)// 257 257 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. 258 258 Create at least create 2 parameters as in the image. Beacause 2 parameters are needed. 259 -//If JSON is prevered use: ExportType = 'Export_FIELD_JSON_v1_0_0'// 260 260 6; Fill the parameter with the FileName. 261 261 7; Fill the parameter with **projectID**. Instead of ‘ProjectID' it’s also possible to fill the parameter ‘ProjectCode'. 262 262 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. 263 263 9; The response field 'Filecontent’is filled if it went OK, and it contains XML you can serialize. 264 -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.** 265 -*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. 266 266 267 - 268 268 **EXAMPLE CODE** 269 269 270 270 ExportType: ... ... @@ -310,7 +310,7 @@ 310 310 <soapenv:Envelope 311 311 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 312 312 xmlns:itw="https://wsterraindex.terraindex.com/ITWorks.TerraIndex/"> 313 - <soapenv:Header ></soapenv:Header>310 + <soapenv:Header/> 314 314 <soapenv:Body> 315 315 <itw:Export> 316 316 <itw:request>