{ "meta": { "options": { "linkedFile": "/views/dspec.ejs", "linkedForm": "frm_newbomitem" }, "$_POST": [ { "type": "text", "fieldName": "newbompn", "name": "newbompn" }, { "type": "text", "fieldName": "newbomdesc", "name": "newbomdesc" }, { "type": "text", "fieldName": "newbomold", "name": "newbomold" }, { "type": "text", "fieldName": "newbomnew", "name": "newbomnew" }, { "type": "number", "fieldName": "bomdspecid", "name": "bomdspecid" }, { "type": "number", "fieldName": "newbompnid", "name": "newbompnid" } ] }, "exec": { "steps": { "name": "api", "module": "api", "action": "send", "options": { "url": "http://localhost:8080/api/v1.0/boms/wapplerinsert", "method": "POST", "schema": [ { "type": "object", "name": "data", "sub": [ { "type": "number", "name": "updateuserid" }, { "type": "text", "name": "old" }, { "type": "text", "name": "new" }, { "type": "number", "name": "id" }, { "type": "number", "name": "createuserid" }, { "type": "number", "name": "viewlocation" } ] }, { "type": "object", "name": "headers", "sub": [ { "type": "text", "name": "access-control-allow-headers" }, { "type": "text", "name": "access-control-allow-methods" }, { "type": "text", "name": "access-control-allow-origin" }, { "type": "text", "name": "access-control-expose-headers" }, { "type": "text", "name": "connection" }, { "type": "text", "name": "content-length" }, { "type": "text", "name": "content-type" }, { "type": "text", "name": "date" } ] } ], "dataType": "json", "data": { "updatedate": "{{NOW}}", "viewlocationid": "14", "id": null, "old": "{{$_POST.newbomold}}", "createdate": "2023-11-14T12:51:06Z", "designspecid": "26259{{$_POST.bomdspecid}}", "createuserid": "-1", "new": "{{$_POST.newbomnew}}", "updateuserid": "-1", "partnumberid": "{{$_POST.newbompnid}}" } }, "output": true, "meta": [ { "type": "object", "name": "data", "sub": [ { "type": "number", "name": "updateuserid" }, { "type": "text", "name": "old" }, { "type": "text", "name": "new" }, { "type": "number", "name": "id" }, { "type": "number", "name": "createuserid" }, { "type": "number", "name": "viewlocation" } ] }, { "type": "object", "name": "headers", "sub": [ { "type": "text", "name": "access-control-allow-headers" }, { "type": "text", "name": "access-control-allow-methods" }, { "type": "text", "name": "access-control-allow-origin" }, { "type": "text", "name": "access-control-expose-headers" }, { "type": "text", "name": "connection" }, { "type": "text", "name": "content-length" }, { "type": "text", "name": "content-type" }, { "type": "text", "name": "date" } ] } ], "outputType": "object" } } }