|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- {
- "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"
- }
- ]
- }
- }
|