Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Sorgulama yetkisine sahip bir Token gereklidir. Rest api json sonucununa istediğiniz istemci ile ulaşabilirsiniz.

Query
Açıklama

Arama sonucuna uyan kayıtların sayısını katman bazında döner. 

Güncel tüm istek ve sonuçlar için MobidiQueryManagerHandler adresinden yararlanabilirsiniz.

İstek

[MOBIDISERVERURL]/MobidiQueryManagerHandler?op=QueryCounters&queryObject=[MobidiQuery_JSON]&UserSession=[TOKEN]

  • queryObject(JSON): Nesne ye ait JSON iletilmelidir.


HttpMethodGET,POST
Beklenen Hatalar

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

501 Server Error

Dönecek SonuçGüncel sonuç nesnesine buraya tıklayarak ulaşabilirsiniz.
Örnek İstek
var myQuery= {
	startDate:"20180114", //14 Ocak 2018 den itibaren 
	endDate:"-1w" //1 hafta önceye kadar
}
var callBackFunction= function(data) {
	alert(data.length;)
}
$.post('[MOBIDIServerUrl]/MobidiQueryManagerHandler?op=Query', { 'queryObject': JSON.stringify(myQuery), }, callBackFunction, 'json')



Örnek Sonuç


[
	{ Layer_Id:"...", "Layer_Name":"...", Result_Count:...},
	{ Layer_Id:"...", "Layer_Name":"...", Result_Count:...},
	{ Layer_Id:"...", "Layer_Name":"...", Result_Count:...}
]



Örnek Uygulamalar
  • No labels