CREATE OR REPLACE VIEW RESTAPI.API_PARAM_PREVIEW FOR SYSTEM NAME API_P00001 ( 
	APPVER , 
	APPNAME , 
	APPFUNC , 
	APPPARAM , 
	PARAMPOS ) 
	AS 
	SELECT P.APPVER, P.APPNAME, P.APPFUNC, P.APPPARAM, P.PARAMPOS 
	 FROM TABLE ( 
	 RESTAPI.GET_PARAM_PLACEHOLDERS(NULL, NULL, NULL) 
	 ) AS P   
	RCDFMT API_P00001 ; 

GRANT ALTER , REFERENCES , SELECT   
ON RESTAPI.API_PARAM_PREVIEW TO AMAPICS WITH GRANT OPTION ; 

GRANT SELECT   
ON RESTAPI.API_PARAM_PREVIEW TO PUBLIC ; 

