{ "meta": { "$_GET": [ { "type": "number", "name": "id" } ] }, "exec": { "steps": [ { "name": "api", "module": "api", "action": "send", "options": { "url": "{{$_ENV.API_BASEURL+'/partcodes/parent/'+$_GET.id}}", "schema": [ { "type": "text", "name": "data" }, { "type": "object", "name": "headers", "sub": [ { "type": "text", "name": "connection" }, { "type": "text", "name": "content-length" }, { "type": "text", "name": "content-type" }, { "type": "text", "name": "date" } ] } ] }, "output": true, "meta": [ { "type": "text", "name": "data" }, { "type": "object", "name": "headers", "sub": [ { "type": "text", "name": "connection" }, { "type": "text", "name": "content-length" }, { "type": "text", "name": "content-type" }, { "type": "text", "name": "date" } ] } ], "outputType": "object" }, { "name": "", "module": "core", "action": "condition", "options": { "if": "{{api.data==0}}", "then": { "steps": { "name": "view", "module": "core", "action": "setvalue", "options": { "key": "g_view", "value": "change" }, "meta": [], "output": true, "outputType": "text" } }, "else": { "steps": { "name": "", "module": "core", "action": "condition", "options": { "if": "{{api.data==2}}", "then": { "steps": { "name": "view", "module": "core", "action": "setvalue", "options": { "value": "dspecm" }, "meta": [], "output": true, "outputType": "text" } }, "else": { "steps": { "name": "", "module": "core", "action": "condition", "options": { "if": "{{api.data==3}}", "then": { "steps": { "name": "view", "module": "core", "action": "setvalue", "options": { "value": "dspec" }, "meta": [], "output": true, "outputType": "text" } }, "else": { "steps": { "name": "view", "module": "core", "action": "setvalue", "options": { "value": "dspecg" }, "meta": [], "output": true, "outputType": "text" } } }, "outputType": "boolean" } } }, "outputType": "boolean" } } }, "outputType": "boolean" } ] } }