Versions Compared

Key

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

...

Table of Contents

...


GEODI tarafından ilgili uygulamadan değişen verilerin servisler yolu ile alınmasına dayalı entegrasyon modelidirIt is an integration model based on receiving data by GEODI from the application.ECM, CMS, DMS uygulamaları ile içeriğini webservis, restapi ile sağlayabilen tüm uygulamalar bu modeli kullanabilir. Sağlanacak servis için farklı standartlara destek verilmektedir.

...

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 model
  • Enterprise Content Managment (ECM) 

  • Content Managment System (CMS) 

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


Excerpt

Bir web uygulamasına sahip iseniz, uygulamanız sürekli ayakta değil ise  uygulamanızın GEODI tarafından tetiklenmesi için bu yöntemi kullanabilirsiniz

GEODI Servis Bağlantısı Standardı

Geri besleme için uygulama yetki destekli bir servis üzerinden doküman bilgilerini dönebilmelidir. GEODI arayüzlerinden uygulamaya ait

  • Rest Api Servis yolu (URL)
  • Uygulama servislerini çağrılması için Kullanıcı Adı,Şifre (LDAP veya Kerberos User)
    • ( Uygulama openid standartlarını destekliyorsa uygulamadan uzun süre geçerli bir token alınıp kullanılabilir. )

bilgileri alınacak, sistem belirlenen zamanlarda uygulamadan servis üzerinde isteklerde bulunacaktır. 

*  Sık Sorulan Sorular linkindeki uyarılara ve feed api için önemli bilgilere buradan ulaşabilirsiniz.

Gerçeklenmesi beklenen servis metodları

...

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.

GEODI Service Connection Standard

For feedback, the application must be able to return document information through a service that is authorized.

  • Rest Api Service Path (URL)
  • User Name, Password (LDAP or Kerberos User) for calling application services
    • If the application supports openid standards, a valid token can be retrieved and used from the application for a long time. )

information will be recieved from the application and entered into GEODI interfaces, the system will make requests on the service from the application at specified times.

*  If you have a question you can check the Frequently Asked Questions .

Expected Service Methods

GetContents
Definition

Uygulamadaki değişikleri takip etmek, içerikleri almak için kullanılan metoddur. Ayarlanan zamanlarda bu servis çağrılarak değişen, eklenen içerkiler ile ilgili bilgi alınır.

Aynı parametreleri alan ve aynı nesneyi dönen bir .net soap api hazırlanmışsa metod üzerine [ScriptMethod(ResponseFormat=ResponseFormat.Json)] attribute eklenmelidir.

İstekReguest[ServiceURL]?m=GetContents
HttpMethodGET, POST
Beklenen HatalarExpected Errors

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

Ek Bilgiler

Api Credential (NTLM,Digest,Basic Authentication) : GEODI için ayarlanmış api kullanıcısı. Uygulama bu kullanıcını yetkisi dahilindeki tüm içerikleri dönmelidir.

ChangeKey: İlk istekte tüm veriyi almak için iletilmez. İletilmesi halinde GEODI bu değerden sonra değişen içeriklerin dönmesini bekler. GEODI bu değeri son işlediği GetContents sonucundaki ChangeKey değerinden alır. Sonraki zamanlanmış taramada iletir. Uygulama geri döndüğünde değişimi takip için kullanabileceği herhangi bir değer gönderebilir.

Page : GetContents servisinden bir PageCount dönmüşse şu an hangi sayfanın istendiğini gösterir. Bu parametre ile CurrentKey parametreside iletilir

Beklenen SonuçReturn Value

Çoklu ContentObject JSON dönülmesi beklenir. Geodi ContentObject - İçerik Tanım Nesnesi#İçerikTanımNesnesi-Çokluİçerik adresinden nesne detaylarına ulaşılabilir

ÖrneklerExamples


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']  }
		}
	
	]
 }


Örnek uygumalarExample applications

...