Api session event editor scenario set event: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Event {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(SCENARIO Integer ID) |Scenarios | |- |1 |REQUIRED |(CodedEvent) |CodedEvent | |} ===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/set_event/?f=HTML&token=API_TOKEN with content: <pre>[ 86, { "id" : -1,..."
 
No edit summary
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(SCENARIO Integer ID)
|(SCENARIO Integer ID)
|[[Scenario]]s
|[[Scenario]]
|
|
|-
|-
Line 34: Line 34:


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

Revision as of 07:55, 31 March 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=HTML&token=API_TOKEN

with content:

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