Api session event editor scenario add measure: Difference between revisions

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


with content:  
with content:  
<pre>[ 57, 67 ]
<pre>[ 14, 50 ]
</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 08:21, 1 April 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=JSON&token=API_TOKEN

with content:

[ 14, 50 ]