Update Server Configuration

Arkance Systems Benelux

The GeoView Server API supports updating GeoView Server instance configuration information. Accessing this method requires Admin permissions.


Request API method URI definition:


HTTP POST http://api.geoview.be/geoservice/v1/server/config/update


Request HTTP URI parameters:


Parameter

Description

token

Access token (returned by this API method).


Request Body structure in JSON format is represented as an array using following structure:


Parameter

Type

Description

id

String

Property identifier (returned by this API method).

value

Object

New property value. Property type depends on original property (returned by this API method).


Example HTTP request URI:


HTTP POST http://api.geoview.be/geoservice/v1/server/config/update?token=3dc718f2-ab20-4f41-86e1-72abcc1810c1


Example HTTP request URI message body contents for a single value:


[{"id":"gvs-uploadpath","value":"C:\\Upload"}]


Example HTTP request URI message body contents for multiple values:


[

  {"id":"gvs-uploadpath","value":"C:\\Upload"},

  {"id":"about-url","value":"http://localhost"}

]


Possible resulting HTTP status codes:


Value

Description

200

API request succeeded.

400

API request failed due to wrong parameter value(s).

401

Supplied API request access token not valid.

500

API request failed due to server error.