Api session event editor netload set building: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Building {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(NET_LOAD Integer ID) |Net Loads | |- |1 |REQUIRED |(BUILDING Integer ID) |Buildings | |} ===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/editornetload/set_building/?f=HTML&token=API_TOKEN with content: <pre..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(NET_LOAD Integer ID)
|(NET_LOAD Integer ID)
|[[Net Load]]s
|[[Net Load]]
|
|
|-
|-
Line 16: Line 16:
|REQUIRED
|REQUIRED
|(BUILDING Integer ID)
|(BUILDING Integer ID)
|[[Building]]s
|[[Building]]
|
|
|}
|}
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editornetload/set_building/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editornetload/set_building/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ 10, 47 ]
<pre>[ 20, 22 ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netload]]}}
{{article end|seealso=*[[Api session event editor netload]]
*[[Api session items netloads]]
}}


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

Latest revision as of 12:09, 1 April 2026

API Event to Set Building

Name Importance Type Description Values
0 REQUIRED (NET_LOAD Integer ID) Net Load
1 REQUIRED (BUILDING Integer ID) Building

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_building/?f=JSON&token=API_TOKEN

with content:

[ 20, 22 ]