SaveOrganization

Save organization which offers map layers. Without layerclass_id this creates a new organization - otherwise this is handled as an update. User needs to have admin rights.

Parameters

Name Type Description Required?
layerclass_id String Organization's id. This is needed when updating organization's data **false**
parent_id String Organization's id. This is needed when the current layer is a sublayer. **false**
sub_maplayers_selectable String Allow selection of sub maplayers **false**
sub_legend_image String Legend image of sublayers **false**
sub_data_url String Data url for sublayers **false**
group_map String //TODO **false**
name_fi String Name of organization in Finnish **false**
name_sv String Name of organization in Swedish **false**
name_en String Name of organization in English **false**

Response

Success

HTTP statuscode 200 and null

Error

HTTP statuscode 500 and error stacktrace

Examples

Example query for Paikkatietoikkuna

(POST|GET) http://www.paikkatietoikkuna.fi/web/fi/kartta?p_p_id=Portti2Map_WAR_portti2mapportlet&p_p_lifecycle=2&action_route=SaveOrganization&layerclass_id=333&name_fi="testi"&name_sv="testen"&name_en="test"

Response: null

Last modified: Thu Nov 10 2022 13:59:32 GMT+0200 (Eastern European Standard Time)