FSN#39312 Verder ontsluiten van modellen via de API
svn path=/Website/trunk/; revision=33286
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
<%@ language = "JavaScript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: api_persons.asp
|
||||
|
||||
Description: PRS_PERSLID API
|
||||
Parameters:
|
||||
Context: Door een remote systeem (geen persoon) om info uit FACILITOR te halen aan te roepen
|
||||
|
||||
Notes:
|
||||
*/
|
||||
DOCTYPE_Disable = true;
|
||||
ANONYMOUS_Allowed = 1; // Eigenlijk niet waar. We regelen echter alles zelf
|
||||
THIS_FILE = "appl/api/api_persons.asp";
|
||||
|
||||
%>
|
||||
<!-- #include file="../Shared/common.inc" -->
|
||||
<!-- #include file="./api2_rest.inc" -->
|
||||
<!-- #include file="../Shared/json2.js" -->
|
||||
<!-- #include file="./model_persons.inc" -->
|
||||
<%
|
||||
api2_rest.process(model_persons);
|
||||
%>
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
function model_cad_legenda()
|
||||
{
|
||||
this.records_name = "graphiclegendas";
|
||||
this.record_name = "graphiclegenda";
|
||||
this.records_name = "graphiclegends";
|
||||
this.record_name = "graphiclegend";
|
||||
this.table = "cad_legenda";
|
||||
this.primary = "cad_legenda_key";
|
||||
this.autfunction = "WEB_CADMGT";
|
||||
@@ -50,13 +50,12 @@ function model_cad_legenda()
|
||||
};
|
||||
|
||||
this.includes = {
|
||||
"cad_values": {
|
||||
"legendvalues": {
|
||||
"model": new model_cad_legendawaarde(),
|
||||
"joinfield": "graphiclegenda"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.REST_GET = generic_REST_GET(this);
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
function model_cad_legendawaarde()
|
||||
{
|
||||
this.records_name = "graphiclegendavalues";
|
||||
this.record_name = "graphiclegendavalue";
|
||||
this.records_name = "graphiclegendvalues";
|
||||
this.record_name = "graphiclegendvalue";
|
||||
this.table = "cad_legendawaarde";
|
||||
this.primary = "cad_legendawaarde_key";
|
||||
this.autfunction = "WEB_CADMGT";
|
||||
|
||||
Reference in New Issue
Block a user