Api session event editor scenario set event: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 34: Line 34:


with content:  
with content:  
<pre>[ 9, {
<pre>[ 11, {
  "id" : -1,
  "id" : -1,
  "parameters" : [ ]
  "parameters" : [ ]
} ]
} ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor scenario]]}}
{{article end|seealso=*[[api session event editor scenario]]
*[[api session event editor scenario]]
}}


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

Revision as of 11:44, 1 April 2026

API Event to Set Event

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

Response Codes

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

Example POST

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

with content:

[ 11, {
 "id" : -1,
 "parameters" : [ ]
} ]