{ "meta": { "version": "4.000.9103", "fileFormatVersion": "0.4", "date": "2024-12-02T20:48:37.828Z", "name": "webservice-get-input-js", "description": "HTTP GET using REST API dataNode-type with query parameters arguments from another Variable dataNode-type", "groupName": "JavaScript", "tags": [ { "text": "DataNodes" }, { "text": "REST-API" } ], "schedulerLogOff": true }, "data": { "datanodes": [ { "name": "Input", "type": "JSON_var_plugin", "settings": { "name": "Input", "json_var": "{\"length\":56,\"width\":23}" } }, { "name": "operation", "type": "JSON_formula_plugin", "settings": { "name": "operation", "autoStart": true, "explicitTrig": false, "json_var_formula": "var query = \"?X=\" + dataNodes[\"Input\"][\"length\"] + \"5&Y=\" + dataNodes[\"Input\"][\"width\"];\n\nreturn query;\n" } }, { "name": "surface", "type": "REST_web-service_from_datasource", "settings": { "name": "surface", "url": "https://compute20190425045435.azurewebsites.net/ComputeService.asmx/GetSurface", "use_xproxy": true, "sampleTime": 0, "autoStart": true, "explicitTrig": false, "req_data_type": "JSON", "resp_data_type": "JSON", "method": "GET", "body": "return {\n\"urlAppend\": dataNodes[\"operation\"]\n};", "headers": [ { "name": "Content-Type", "value": "application/json" } ], "proxyHash": "eyJBZGRyZXNzIjoiaHR0cHM6Ly9jb21wdXRlMjAxOTA0MjUwNDU0MzUuYXp1cmV3ZWJzaXRlcy5uZXQvQ29tcHV0ZVNlcnZpY2UuYXNteC9HZXRTdXJmYWNlIiwiSG9zdCI6InhkYXNoIn0=", "proxySig": "5TM10MtZYvnW/sf2ZrpNxroEC5/u3IzDOTvHwTGaJC7Ve8mvIFTHNTSRJC01sF4++1mTDAzHz2vWI03ypu1tkethTosHJxRjcAnrj3nUMMAhgi1P663rgGrmTfMtxDzKDiiVT+cMreJ43aIQrmXnVw==" } } ] }, "libraries": { "pyodideStandard": [], "pyodideMicropip": [] }, "dashboard": { "flatUiHorizontalSliderA": { "layout": { "top": 18, "left": 9, "height": 38, "width": 367, "z-index": "1" }, "container": { "instanceId": "flatUiHorizontalSliderA", "modelJsonId": "flatUiHorizontalSlider" }, "modelParameters": { "label": "length", "inheritLabelFromData": true, "displayLabel": true, "labelFontSize": 0.5, "labelColor": "var(--widget-label-color)", "labelFontFamily": "var(--widget-font-family)", "rangeActuator": false, "min": 0, "max": 100, "step": 1, "displayValue": true, "validationOnFocusOut": true, "valueFontSize": 0.5, "valueFontFamily": "var(--widget-font-family)", "valueBorderColor": "var(--widget-border-color)", "labelWidthProportion": "20%", "sliderWidthProportion": "60%", "valueWidthProportion": "20%", "sliderRangeColor": "var(--widget-range-color)", "sliderSegmentColor": "var(--widget-segment-color)", "sliderHandleDefaultColor": "var(--widget-handle-default-color)", "sliderHandleHoverColor": "var(--widget-handle-hover-color)", "sliderHandleActiveColor": "var(--widget-handle-active-color)", "valueColor": "var(--widget-color)", "unit": "unitText", "displayUnit": false, "unitFontSize": 0.5, "showWidget": true, "enableWidget": true }, "modelHiddenParams": { "value": 0 } }, "flatUiHorizontalSliderB": { "layout": { "top": 84, "left": 9, "height": 38, "width": 367, "z-index": "2" }, "container": { "instanceId": "flatUiHorizontalSliderB", "modelJsonId": "flatUiHorizontalSlider" }, "modelParameters": { "label": "width", "inheritLabelFromData": true, "displayLabel": true, "labelFontSize": 0.5, "labelColor": "var(--widget-label-color)", "labelFontFamily": "var(--widget-font-family)", "rangeActuator": false, "min": 0, "max": 100, "step": 1, "displayValue": true, "validationOnFocusOut": true, "valueFontSize": 0.5, "valueFontFamily": "var(--widget-font-family)", "valueBorderColor": "var(--widget-border-color)", "labelWidthProportion": "20%", "sliderWidthProportion": "60%", "valueWidthProportion": "20%", "sliderRangeColor": "var(--widget-range-color)", "sliderSegmentColor": "var(--widget-segment-color)", "sliderHandleDefaultColor": "var(--widget-handle-default-color)", "sliderHandleHoverColor": "var(--widget-handle-hover-color)", "sliderHandleActiveColor": "var(--widget-handle-active-color)", "valueColor": "var(--widget-color)", "unit": "unitText", "displayUnit": false, "unitFontSize": 0.5, "showWidget": true, "enableWidget": true }, "modelHiddenParams": { "value": 0 } }, "kpiCardA": { "layout": { "top": 151, "left": 9, "height": 120, "width": 275, "z-index": "3" }, "container": { "instanceId": "kpiCardA", "modelJsonId": "kpiCard" }, "modelParameters": { "label": "surface", "inheritLabelFromData": false, "displayLabel": true, "labelFontSize": 0.5, "labelColor": "var(--widget-label-color)", "labelFontFamily": "var(--widget-font-family)", "valuePosition": "bottom", "valueFontSize": 2, "valueColor": "var(--widget-color)", "valueFontFamily": "var(--widget-font-family)", "decimalDigits": 3, "unit": "unitText", "displayUnit": false, "unitFontSize": 0.5, "unitColor": "var(--widget-label-color)", "borderShadow": false, "showWidget": true, "enableWidget": true }, "modelHiddenParams": { "value": "--" } } }, "connections": { "flatUiHorizontalSliderA": { "value": { "name": "value", "dataNode": "Input", "dataFields": [ "length" ] } }, "flatUiHorizontalSliderB": { "value": { "name": "value", "dataNode": "Input", "dataFields": [ "width" ] } }, "kpiCardA": { "value": { "name": "value", "dataNode": "surface", "dataFields": [ "Msg" ] } } }, "display": { "theme": "default", "backgroundColor": "var(--widget-color-0)", "inheritThemeBackgroundColor": true, "marginX": 10, "marginY": 10, "width": 1294, "height": 590, "enforceHeightLimit": false }, "navBarNotification": false }