Api session event editor netload set state

From Tygron Support wiki
Revision as of 10:16, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Set State {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(NET_LOAD Integer ID or multiple values in array [1, 2, 3]) |Net Loads | |- |1 |REQUIRED |(TimeState or multiple values in array [a, b, c]) |TimeState[] | |} ===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/editornetl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 Loads
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=HTML&token=API_TOKEN

with content:

[ [ 1, 2, 3 ], [ "CONSTRUCTION_DENIED", "DEMOLISH_DENIED", "PENDING_UPGRADE" ] ]