|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- {
- "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"
- }
- }
- }
|