Api session event editor scenario duplicate: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Duplicate existing Scenario {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(SCENARIO Integer ID or multiple values in array [1, 2, 3]) |Scenarios | |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- |200 |Integer[] (Integer array) |- |300-600 |Codes Overview |} ===Example POST=== Example POST: https://engine.tygron.com/api/session/event/editorscenario/duplicate/?f=HTML&token=API_TOKEN with cont..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(SCENARIO Integer ID or multiple values in array [1, 2, 3])
|(SCENARIO Integer ID or multiple values in array [1, 2, 3])
|[[Scenario]]s
|[[Scenario]]
|
|
|}
|}
Line 25: Line 25:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editorscenario/duplicate/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editorscenario/duplicate/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ [ 1, 2, 3 ] ]
<pre>[ [ 1, 2, 3 ] ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor scenario]]}}
{{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 Duplicate existing Scenario

Name Importance Type Description Values
0 REQUIRED (SCENARIO Integer ID or multiple values in array [1, 2, 3]) Scenario

Response Codes

Response Code: Description
200 Integer[] (Integer array)
300-600 Codes Overview

Example POST

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

with content:

[ [ 1, 2, 3 ] ]