Api session event editor scenario add measure: Difference between revisions
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 |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Event to Add a [[Measure]] that is | API Event to Add a [[Measure]] that is [[Trigger]]ed on [[Scenario]] activation. | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
| Line 31: | Line 31: | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Example POST: https://engine.tygron.com/api/session/event/editorscenario/add_measure/?f= | Example POST: https://engine.tygron.com/api/session/event/editorscenario/add_measure/?f=JSON&token=API_TOKEN | ||
with content: | with content: | ||
<pre>[ | <pre>[ 51, 51 ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[ | {{article end|seealso=*[[Api session event editor scenario]] | ||
*[[Api session items scenarios]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 12:13, 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:
[ 51, 51 ]