Api session event editor netfunction add: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
API Event to Add new Net[[Function]]
API Event to Add new [[Net Function]]
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 25: Line 25:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editornetfunction/add/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editornetfunction/add/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ "HEAT" ]
<pre>[ "GAS" ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netfunction]]}}
{{article end|seealso=*[[Api session event editor netfunction]]
*[[Api session items netfunctions]]
}}


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

Latest revision as of 12:08, 1 April 2026

API Event to Add new Net Function

Name Importance Type Description Values
0 REQUIRED (Enumeration) NetType ELECTRICITY, GAS, HEAT, INTERNET or SEWER

Response Codes

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

Example POST

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

with content:

[ "GAS" ]