diff --git a/geoapi/service/pis/index.php b/geoapi/service/pis/index.php index c86b337..61dd975 100644 --- a/geoapi/service/pis/index.php +++ b/geoapi/service/pis/index.php @@ -25,5 +25,18 @@ $app->get(\api\PisApi::$routeParameterPids . \api\PisApi::$routParameterIPatter, echo $app->sendPisQuery($queryArgs); }); +$app->get(\api\PisApi::$routeParameterPids . \api\PisApi::$routeParameterINames, function ($pid, $iNames = array()) use ($app) { + $queryArgs = array(); + $queryArgs[\api\PisApi::$keyPidList] = $pid; + $queryArgs[\api\PisApi::$keyINameList] = $iNames; + echo $app->sendPisQuery($queryArgs); + }); + +$app->get(\api\PisApi::$routeParameterPids, function ($pid) use ($app) { + $queryArgs = array(); + $queryArgs[\api\PisApi::$keyPidList] = $pid; + echo $app->sendPisQuery($queryArgs); + }); + $app->run(); ?>