Api session event editor netload set state

From Tygron Support wiki
Revision as of 12:09, 1 April 2026 by Frank@tygron.nl (talk | contribs)
(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 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" ] ]