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şabilirsiniz.

...

Arama sonucuna uyan kayıtların listesini döner. 

...

A token which is granted to use this function is required.  You may use this service with any client that can call REST API's and parse JSON results.

Query
Description

Returns array of records corresponding to the query.

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

İstek

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

  • queryObject(JSON):Nesne ye ait JSON iletilmelidir MobidiQuery object as JSON format.


HttpMethodGET,POST
Beklenen HatalarError Types

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 İstekResultArray of MobidiEntry objects
Request Example


Code Block
var myQuery= {
	startDate:"20180114", //14 Ocak 2018 den itibaren 
	endDate:"-1w", //1 hafta önceye kadar
	startIndex:0, //ilk kayıttan itibaren 
	endIndex:20 //20nci kayda kadar 
}
var callBackFunction= function(data) {
	alert(data.length;)
}
$.post('[MOBIDIServerUrl]/MobidiQueryManagerHandler?op=Query', { 'queryObject': JSON.stringify(myQuery), }, callBackFunction, 'json')


Örnek SonuçResult Example


Code Block
[
	{ record: { id:"..." , layer_id:"..."} , attributes: [ {id:"...",name:"..."}] },
	{ record: { id:"..." , layer_id:"..."} , attributes: [ {id:"...",name:"..."}] },
	{ record: { id:"..." , layer_id:"..."} , attributes: [ {id:"...",name:"..."}] }
]


Örnek UygulamalarSample Applications