Versions Compared

Key

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

Sorgulama yetkisine sahip bir Token gereklidir. Rest api json sonucununa istediğiniz istemci ile ulaşabilirsinizA Token with query authorization is required. You can reach the result of the rest api json with any client you want.

Query
Description

Returns count of records grouped by layers corresponding to the query.

Please visit MobidiQueryManagerHandler technical page for all functions with parameter and response types.

Request

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

  • queryObject(JSON): MobidiQuery object as JSON format.


HttpMethodGET,POST
Error Types

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

501 Server Error

ResponseArray of QueryCounter objects
Request Example


Code Block
var myQuery= {
	startDate:"20180114", //From 14 OcakJanuary 2018 den
itibaren 
	endDate:"-1w" //Up to 1 haftaweek önceye kadarago
}
var callBackFunction= function(data) {
	alert(data.length;)
}
$.post('[MOBIDIServerUrl]/MobidiQueryManagerHandler?op=Query', { 'queryObject': JSON.stringify(myQuery), }, callBackFunction, 'json')


Response Example


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


Sample Applications

...