Api session event editor netfunction add: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 25: | Line 25: | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Example POST: https://engine.tygron.com/api/session/event/editornetfunction/add/?f= | Example POST: https://engine.tygron.com/api/session/event/editornetfunction/add/?f=JSON&token=API_TOKEN | ||
with content: | with content: | ||
<pre>[ " | <pre>[ "GAS" ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[ | {{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" ]