Api session event editor netsetting set owner: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Owner {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(Enumeration) |NetType |ELECTRICITY, GAS, HEAT, INTERNET or SEWER |- |1 |REQUIRED |(STAKEHOLDER Integer ID) |Stakeholders | |} ===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/editornetsetting/set_owner/?f=HTML&token=AP..."
 
No edit summary
Line 16: Line 16:
|REQUIRED
|REQUIRED
|(STAKEHOLDER Integer ID)
|(STAKEHOLDER Integer ID)
|[[Stakeholder]]s
|[[Stakeholder]]
|
|
|}
|}
Line 34: Line 34:


with content:  
with content:  
<pre>[ "SEWER", 34 ]
<pre>[ "GAS", 81 ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netsetting]]}}
{{article end|seealso=*[[api session event editor netsetting]]}}


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

Revision as of 07:53, 31 March 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=HTML&token=API_TOKEN

with content:

[ "GAS", 81 ]