Api session event editor scenario add measure: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Add a Measure that is triggered on Scenario activation. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(SCENARIO Integer ID) |Scenario ID | |- |1 |REQUIRED |(MEASURE Integer ID) |Measure ID | |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- |204 |No Content |- |300-600 |Codes Overview |} ===Example POST=== Example POST: https://engine.tygron.com/api/session/event/editorscenario/add_mea..."
 
No edit summary
Line 1: Line 1:
API Event to Add a [[Measure]] that is triggered on [[Scenario]] activation.
API Event to Add a [[Measure]] that is [[Trigger]]ed on [[Scenario]] activation.
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 34: Line 34:


with content:  
with content:  
<pre>[ 90, 37 ]
<pre>[ 57, 67 ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor scenario]]}}
{{article end|seealso=*[[api session event editor scenario]]}}


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

Revision as of 14:16, 30 March 2026

API Event to Add a Measure that is Triggered on Scenario activation.

Name Importance Type Description Values
0 REQUIRED (SCENARIO Integer ID) Scenario ID
1 REQUIRED (MEASURE Integer ID) Measure ID

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorscenario/add_measure/?f=HTML&token=API_TOKEN

with content:

[ 57, 67 ]