Versions Compared

Key

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

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

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

Please visit MobidiQueryManagerHandler technical page 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