Api session event editor netload add: 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>[ "ELECTRICITY", false ]
<pre>[ "INTERNET", true ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netload]]}}
{{article end|seealso=*[[api session event editor netload]]
*[[api session event editor netload]]
}}


[[Category:API]]
[[Category:API]]

Revision as of 11:42, 1 April 2026

API Event to Add new Net Load

Name Importance Type Description Values
0 REQUIRED (Enumeration) Net Type ELECTRICITY, GAS, HEAT, INTERNET or SEWER
1 REQUIRED (true, false) Is root load true or false

Response Codes

Response Code: Description
200 Integer (Net Load ID)
300-600 Codes Overview

Example POST

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

with content:

[ "INTERNET", true ]