Api session event editor netsetting set owner: 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>[ "SEWER", 90 ]
<pre>[ "SEWER", 45 ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netsetting]]
{{article end|seealso=*[[api session event editor netsetting]]
*[[api session event editor netsetting]]
*[[api session items netsettings]]
}}
}}


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

Revision as of 12:00, 1 April 2026

API Event to Set Owner

Name Importance Type Description Values
0 REQUIRED (Enumeration) NetType ELECTRICITY, GAS, HEAT, INTERNET or SEWER
1 REQUIRED (STAKEHOLDER Integer ID) Stakeholder

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

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

with content:

[ "SEWER", 45 ]