1 * [ParameterList] => stdClass Object * ( * [LocalDataBaseParameters] => http://amda.irap.omp.eu/AMDA/data/WSRESULT/parameterlist_impex_20180919_AmdaLocalDataBaseParameters.xml * ) * or with userID * ( * [UserDefinedParameters] => http://amda.irap.omp.eu/AMDA/data/WSRESULT/parameterlist_userID_20180919_UserDefinedParameters.xml * [LocalDataBaseParameters] => http://amda.irap.omp.eu/AMDA/data/WSRESULT/parameterlist_userID_20180919_AmdaLocalDataBaseParameters.xml * ) * * * * @apiErrorExample Error-Response: * {"error":"Login procedure failed for impex1 : Check your password"} */ require_once '../config.php'; $amda_ws = new WebServer(); $result = $amda_ws->getParameterList($_GET); if ($result['ParameterList']){ foreach($result['ParameterList'] as $key => $value) { echo "<$key>$value"; } } else { echo $result['message']; } ?>