cheiron-set-simulation-template-procedures
Updates the procedure environment of a simulation template in Cheiron.
cheiron-set-simulation-template-procedures [profile=VALUE] template-idx=VALUE procedures-json=VALUE
- profile=VALUE
- Optional. Cheiron connect profile identifier
- template-idx=VALUE
- Required. Target template idx (path parameter)
- procedures-json=VALUE
- Required. Environment values of the template procedures to update, as a JSON array (the whole request body, UpdateTemplateProcedure). Each item: proc_id and environment, a map of variable name to {type (text, result, object), value, desc, require, exclude, proc_id, use_regex, expression}. e.g.
[{"proc_id": "00000000-0000-0000-0000-0000000000a2", "environment": {"C2_URL": {"type": "text", "value": "http://c2.example.com", "desc": "", "require": true, "exclude": [], "proc_id": "", "use_regex": false, "expression": ""}}}]
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect Profile | Cheiron connect profile identifier |
| template_idx | Integer | Template Idx | e.g. 1182 |
| result_code | Integer | Result Code | e.g. 200 |
| result_msg | String | Result Message | e.g. OK |