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 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editorscenario/set_event/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editorscenario/set_event/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ 89, {
<pre>[ 9, {
  "id" : -1,
  "id" : -1,
  "parameters" : [ ]
  "parameters" : [ ]

Revision as of 08:22, 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:

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