Versions Compared

Key

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

...

Query
Description

You can use this service to update a Mobidi record (MobidiEntry) or create a new one.

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

Request

[MOBIDISERVERURL]/MobidiQueryManagerHandler?op=EditMobidiEntry&entry=[MobidiEntry_JSON]&UserSession=[TOKEN]


HttpMethodGET, POST
Error Types

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

501 Server Error

Result

MobidiEntry object that has been created or updated.

Request Example


Code Block
var myEntry= {
	record: { geometry:"POINT(42.0 36.0)", layer_id:"..."}, 
	attributes: [ {id:"[new_guid]", name:"[attribute_id]","value":"....."} ]
}
var callBackFunction= function(data) {
	alert(JSON.stringify(data))
}
$.post('[MOBIDIServerUrl]/EditMobidiEntry?op=Query', { 'entry': JSON.stringify(myEntry), }, callBackFunction, 'json')


Sample Applications

...