| @@ -39,82 +39,14 @@ | |||||
| }, | }, | ||||
| "exec": { | "exec": { | ||||
| "steps": { | "steps": { | ||||
| "name": "api", | |||||
| "name": "api1", | |||||
| "module": "api", | "module": "api", | ||||
| "action": "send", | "action": "send", | ||||
| "options": { | "options": { | ||||
| "url": "http://vapor.prelub.com/api/v1.0/boms/wapplerinsert", | |||||
| "headers": { | |||||
| "content-type": "application/json" | |||||
| }, | |||||
| "method": "POST", | "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", | "dataType": "json", | ||||
| "data": { | "data": { | ||||
| "updatedate": "{{NOW}}", | "updatedate": "{{NOW}}", | ||||
| @@ -127,80 +59,10 @@ | |||||
| "new": "{{$_POST.newbomnew}}", | "new": "{{$_POST.newbomnew}}", | ||||
| "updateuserid": "-1", | "updateuserid": "-1", | ||||
| "partnumberid": "{{$_POST.newbompnid}}" | "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" | |||||
| "url": "http://vapor.prelub.com/api/v1.0/boms/wapplerinsert" | |||||
| }, | |||||
| "output": true | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||