Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:scripting_comb_data_model [2020/07/18 22:16]
admin [Remote Execution]
tutorial:scripting_comb_data_model [2021/01/05 03:00] (current)
Line 55: Line 55:
 When running the model in IDE, you can export/download the execution results in [[../data_design_ide#execute | IDE Execute]] tab.  When running the model in IDE, you can export/download the execution results in [[../data_design_ide#execute | IDE Execute]] tab. 
  
-After model execution completes, you can export the results by menu //File / Export// or {{wiki:overview:tut_comb_btn_export.png?28}}.+After model execution completes, you can export the results by menu //File / Export// or {{wiki:overview:tut_comb_btn_export.png?20}}.
  
 Try the export and review the result file downloaded. Try the export and review the result file downloaded.
Line 65: Line 65:
 You may run your data model remotely using REST api: You may run your data model remotely using REST api:
  
-   curl -X POST "http://localhost:8888/api/v1/runtime/dataset/run/sync" -H  "accept: application/json" -H  "Content-Type: application/json" -d " \"modelName\": \"MyDataModel_A\",  \"options\": {\"path\": \"Folder_B\", \"outputFile\": \"myOutputFile.txt\"}}"+   curl -X POST "http://localhost:8888/api/v1/runtime/dataset/run/sync" -H  "accept: application/json" -H  "Content-Type: application/json" -d " \"modelName\": \"DEMO_Insurance_API\", \"path\": \"Demo_CombinatorialTesting\", \"outputFile\": \"myOutputFile.txt\"}" 
 + 
 +Replace "modelName" and "path" with your values accordingly. 
 + 
 +The output is written to "outputFile" in //work// folder if specified. 
  
-The output is written to "outputFile" in //work// folder.