Api session event editor indicator set target: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 46: | Line 46: | ||
with content: | with content: | ||
<pre>[ | <pre>[ 52, 60, 35, 7 ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[api session event editor indicator]]}} | {{article end|seealso=*[[api session event editor indicator]] | ||
*[[api session event editor indicator]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
Revision as of 11:39, 1 April 2026
API Event to Set a target value of an Indicator for a Sceanrio. A target index value is required.
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (SCENARIO Integer ID) | Scenario ID | |
| 1 | REQUIRED | (INDICATOR Integer ID) | Indicator ID | |
| 2 | REQUIRED | (Integer number) | Target index | |
| 3 | REQUIRED | (Floating point number) | Target value |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editorindicator/set_target/?f=JSON&token=API_TOKEN
with content:
[ 52, 60, 35, 7 ]