FSN#39312 Via scaffolding ook extern API2 ondersteunen

svn path=/Website/trunk/; revision=32696
This commit is contained in:
Jos Groot Lipman
2017-02-05 18:22:52 +00:00
parent b9c53d5657
commit b067d2ff4e
11 changed files with 233 additions and 53 deletions

View File

@@ -219,6 +219,7 @@ function model_reportsx(usrrap_key, rapparams)
this.REST_POST = function _reportsx_REST_POST(params, jsondata) /* new report */
{
params.isNew = true; // negeer eventuele bestaande keys
this._check_authorization(params, "POST");
var dbfields = api2.update_fields(params, this, jsondata); // Build updater