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 2 Current »

A token that 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 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
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
  • No labels