Api session event editor netload set state: 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>[ [ 1, 2, 3 ], [ "PENDING_UPGRADE", "REQUEST_ZONING_APPROVAL", "WAITING_FOR_DATE" ] ]
<pre>[ [ 1, 2, 3 ], [ "NOTHING", "CONSTRUCTION_APPROVED", "WAITING_FOR_DATE" ] ]
</pre>
</pre>
{{article end|seealso=*[[Api session event editor netload]]
{{article end|seealso=*[[Api session event editor netload]]

Latest revision as of 12:09, 1 April 2026

API Event to Set State

Name Importance Type Description Values
0 REQUIRED (NET_LOAD Integer ID or multiple values in array [1, 2, 3]) Net Load
1 REQUIRED (TimeState or multiple values in array [a, b, c]) TimeState[]

Response Codes

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

Example POST

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

with content:

[ [ 1, 2, 3 ], [ "NOTHING", "CONSTRUCTION_APPROVED", "WAITING_FOR_DATE" ] ]