Api session event editor indicator set target: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 43: Line 43:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editorindicator/set_target/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editorindicator/set_target/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ 90, 41, 59, 30 ]
<pre>[ 45, 76, 77, 49 ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor indicator]]}}
{{article end|seealso=*[[api session event editor indicator]]}}


[[Category:API]]
[[Category:API]]

Revision as of 08:17, 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:

[ 45, 76, 77, 49 ]