| @@ -39,82 +39,14 @@ | |||
| }, | |||
| "exec": { | |||
| "steps": { | |||
| "name": "api", | |||
| "name": "api1", | |||
| "module": "api", | |||
| "action": "send", | |||
| "options": { | |||
| "url": "http://vapor.prelub.com/api/v1.0/boms/wapplerinsert", | |||
| "headers": { | |||
| "content-type": "application/json" | |||
| }, | |||
| "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}}", | |||
| @@ -127,80 +59,10 @@ | |||
| "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" | |||
| "url": "http://vapor.prelub.com/api/v1.0/boms/wapplerinsert" | |||
| }, | |||
| "output": true | |||
| } | |||
| } | |||
| } | |||