GetLayerIds

Returns all the layer ids for which the user has permission

Parameters

no parameters

Response

Success

{
  "layerIds": <array_of_ids>
}

Error

error stacktrace with HTTP status code 500

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=GetLayerIds

Response: {"layerIds":[13,14,7,5,4,69,15,55,66,9,10,11,73,67,6,74,56,16,53,231,210,34,30,72,213,54,17,18,64,65,23,212,211,208,209,223,224,225,226,227,221,222,229,228,183,175,12,25,61,28,131,31,27,88,39,44,37,91,234,236,235,237,36,43,41,35,70,121,125,123,124,122,129,126,130,128,140,138,137,136,139,58,100,101,102,103,104,162,152,169,168,171,170,172,173,165,164,163,160,161,159,166,167,77,174,176,177,178,71,21,201,200,8,206,205,204,202,203,29,68,261,1,3,75,24,246,245,244,195,196,198,197,199,247,239,243,242,240,241,76,2,92,90,99,86,42,60,232,248,249,95,97,96,93,98,250,143,251,253,254,255,256,257,258,134,133,132,216,260,85,62,63,219,220,252,259,40,179,264,265,263,266,268,267,309,313,311,310,312,307,308,316,320,318,317,319,314,315,302,306,304,303,305,300,301,280,296,294,295,287,286,278,299,297,298,290,288,289,283,281,282,285,284,279,321,293,291,292,335,336,333,326,334,325,357,324,322,327,337,323,330,329,332,328,331,52,82,80,78,79,81,338,51,339,340,341,342,343,344,345,346,347,348,349,350,351,354,353,355,356,135,19,22,20,111,110,109,153,154,155,156,157,158,358,359,360,361,362,363,83,364,365,366,367,127,214,384,392,391,385,395,394,393,386,390,389,387,388,368,369,371,372,370,375,374,382,381,376,383,378,379,373,380,377,148,108,147,405,406,407,408,410,413,409,411,412,116,120,117,114,118,115,112,119,414,417,418,113,415,416,89,218,425,426,424,106,107,428,105]}

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