Cadcorp SIS API Methods

UpdateObject Method

The CreateObject, ReadObject, UpdateObject and DeleteObject API methods provide access to the same resource-based programming model as used in the GeognoSIS HTTP API with a REST client.

Description

Updates an object in the current SWD.

This is the GisLink and ActiveX equivalent of the HTTP API PATCH method.

Syntax

Visual Basic
Public Function UpdateObject( _
   ByVal url As String, _
   ByVal contenttype As String, _
   ByVal content As Variant _
) As Variant

Parameters

url
The url of the object to be updated.
 
contenttype
"Application/ JSON"
content
JSON string containing a valid GeoJSON Object.

Remarks

Available: MM ME MD OD OM SISPy PySIS

Group:

Example

mapobject.UpdateObject ( url, contentType, content)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).