Api session event editor indicator set target

From Tygron Support wiki
Revision as of 10:10, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Set a target value of an Indicator for a Sceanrio. A target index value is required. {|class=wikitable !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=== {|class=wikitable !Response Code: !Description |- |204 |No Co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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=HTML&token=API_TOKEN

with content:

[ 56, 0, 3, 7 ]