Mobidi Server Create/Update MobidiEntry API

Mobidi Server Create/Update MobidiEntry API

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

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]



HttpMethod

GET,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