<%@ language = "JavaScript" %>
<% /*
     $Revision$
     $Id$

     File:          api_flex.asp
     Description:   API voor opvragen van flexfiles

     Parameters:    Een xml
     Status:
     Context:       (alleen) door Putorders
     Notes:         Zie flexfiles.inc/flexProps2 voor ondersteunde coderingen
*/
    JSON_Result = true;
    THIS_FILE = "appl/api/api_flex.asp";
%>
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="../Shared/flexfiles.inc" -->
<!-- #include file="../api/api.inc" -->
<%

var API = new API_func();

// TODO checkAuthorization("WEB_PUOxxx") ?

var flexcode = getQParam("flexcode");

var props = flexProps2(flexcode);

__Log(props);

Response.Write(JSON.stringify(props));
Response.End;
%>
