Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is an integration model based on receiving data by GEODI from the application. ECM, CMS, DMS applications and all applications that can provide content via web service or rest api can use this model. Different standards are supported for the service to be provided.

  • GEODI Service modelWeb Services of your application
  • Enterprise Content Managment (ECM) 

  • Content Managment System (CMS) 

  • Document Content Managment (DMS) 
  • Sitemap xml, News Sitemap xml

...

Excerpt

If you have a web application and if your application is not standing all the time, you can use this method to trigger your application by GEODI.

Web Services of your application

With definition files to be added to Settings \ FeedEnumeratorMeta, data can be obtained from special web services of the application. The definition file uses macros for mappings. The macro language is C #.

If you forward the documentation of the services related to receiving and authorizing the contents, we can write the definition files for you.

GEODI Service Connection Standard

...

GetContents
Definition

It is the method used to follow the changes in the application and to get the contents. By calling this service at set times, information is received about the changed additions.

If a .net soap api that takes same parameters and returns same object as an output is implemented, then [ScriptMethod(ResponseFormat=ResponseFormat.Json)] attribute should be added to the method.

Reguest[ServiceURL]?m=GetContents
HttpMethodGET, POST
Expected Errors

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

Ek Bilgiler

Api Credential (NTLM,Digest,Basic Authentication) : The api user set for GEODI. The application should return all contents within the authority of this user.

ChangeKey: The first request is not forwarded to receive all data. If transmitted, GEODI expects the contents to return after this value. GEODI retrieves this value from the ChangeKey value in the GetContents result it last processed and transmits the next scheduled scan. When the application returns, it can send any value it can use to track the change.

Page : Indicates which page is currently requested if a PageCount has returned from the GetContents service. This parameter is also passed to the CurrentKey parameter

Return Value

A JSON object that contains content information. Details can be reached from Geodi ContentObject - İçerik Tanım Nesnesi#İçerikTanımNesnesi-Çokluİçerik

Examples


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents + Credential
 {
	ChangeKey:'2015-05-07 12:10:00',
	PageCount:5,
	Contents : [
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1465',
			DisplayName:'Kontrol Listesi Dokümanı',
			ContentDate:'Mon, 04 May 2015 07:38:28 GMT',
			ViewURL : '~/MyApplication/ContentView.php?id=1465',
			Permission : {  Permit : ['S-151...']  }
		},
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1496',
			DisplayName:'Örnek Çalışmalar Notu',
			Content: {
				Extension:'.txt',
				Content: 'Kızılay civarında yapılan çalışmalar eklenmemiş.'
			}
			Permission : { Permit : ['S-151...'] }
		}
	]
 }


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents + Credential&CurrentKey=2015-05-07 12:10:00&Page=1
 {
	ChangeKey:'2015-05-07 12:10:00',
	PageCount:5,
	Contents : [
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1469',
			DisplayName:'Kontrol Listesi Dokümanı',
			ContentDate:'Mon, 04 May 2015 07:38:28 GMT',
			ViewURL : '~/MyApplication/ContentView.php?id=1469',
			Permission : {  Permit : ['S-151...']  }
		}
	]
 }


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents&ChangeKey=2015-05-07%2012%3A10%3A00 + Credential
 {
	ChangeKey:'2015-05-08 12:10:00',
 }

//Değişen yok


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents&ChangeKey=2015-05-08%2012%3A10%3A00 + Credential
 {
	ChangeKey:'2015-05-09 12:10:00',
	Contents : [
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1811',
			DisplayName:'Yeni Doküman',
			ContentDate:'Mon, 06 May 2015 10:15:20 GMT',
			ViewURL : '~/MyApplication/ContentView.php?id=1811',
			Permission : {   Permit : ['S-151...','Koordinator']  }
		}
	
	]
 }


Example applications

...