Api session items netclusters: Difference between revisions
Jump to navigation
Jump to search
Created page with "api session items Net Clusters Endpoints. Manipulate items with event: editornetcluster.==Limit Queries==version=100: <pre>https://engine.tygron.com/api/session/items/netclusters/?version=100&token=API_TOKEN</pre> ==Limit Queries==max version: <pre>https://engine.tygron.com/api/session/items/netclusters/version/?token=API_TOKEN</pre> size: <pre>https://engine.tygron.com/api/session/items/netclusters/size/?token=API_TOKEN</pre> ==Limit Queries==HTML: <pre>http..." |
No edit summary |
||
| (43 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
api session items [[ | API Endpoint: /api/session/items/netclusters/ | ||
< | Edit items with events described at [[Api session event editor netcluster]]. | ||
== | |||
< | Default Query: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=JSON&token=API_TOKEN</syntaxhighlight> | |||
< | Example Response: | ||
== | <syntaxhighlight lang="text" copy>[ { | ||
< | "firstTimeConnect" : true, | ||
"fractionConnectedOverride" : null, | |||
"id" : 0, | |||
"loadIDs" : [ 1, 146 ], | |||
"name" : "", | |||
"ownerID" : 0, | |||
"scenarioID" : 0, | |||
"version" : 1 | |||
}, { | |||
"firstTimeConnect" : true, | |||
"fractionConnectedOverride" : null, | |||
"id" : 1, | |||
"loadIDs" : [ 34, 284 ], | |||
"name" : "", | |||
"ownerID" : 4, | |||
"scenarioID" : 0, | |||
"version" : 7 | |||
} ]</syntaxhighlight> | |||
==Limit Queries== | |||
version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?version=100&token=API_TOKEN</syntaxhighlight> | |||
==Get Queries== | |||
attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/attributes/?token=API_TOKEN</syntaxhighlight> | |||
max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/version/?token=API_TOKEN</syntaxhighlight> | |||
count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/count/?token=API_TOKEN</syntaxhighlight> | |||
==Formats== | |||
HTML: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=HTML&token=API_TOKEN</syntaxhighlight> | |||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netclusters/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
{{article end|seealso=*[[Api Content Items]]}} | ==Api Model NetCluster== | ||
API Model description of NetCluster | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| firstTimeConnect | |||
| boolean | |||
| | |||
|- | |||
| fractionConnectedOverride | |||
| double | |||
| | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| loadIDs | |||
| int<nowiki>[]</nowiki> | |||
| [[Net Load]]s ID | |||
|- | |||
| name | |||
| String | |||
| | |||
|- | |||
| ownerID | |||
| int | |||
| [[Stakeholder]] ID | |||
|- | |||
| scenarioID | |||
| int | |||
| [[Scenario]] ID | |||
|- | |||
| version | |||
| int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | |||
*[[Api session event editor netcluster]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 07:06, 14 July 2026
API Endpoint: /api/session/items/netclusters/
Edit items with events described at Api session event editor netcluster.
Default Query:
https://engine.tygron.com/api/session/items/netclusters/?f=JSON&token=API_TOKENExample Response:
[ {
"firstTimeConnect" : true,
"fractionConnectedOverride" : null,
"id" : 0,
"loadIDs" : [ 1, 146 ],
"name" : "",
"ownerID" : 0,
"scenarioID" : 0,
"version" : 1
}, {
"firstTimeConnect" : true,
"fractionConnectedOverride" : null,
"id" : 1,
"loadIDs" : [ 34, 284 ],
"name" : "",
"ownerID" : 4,
"scenarioID" : 0,
"version" : 7
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/netclusters/?version=100&token=API_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/netclusters/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/netclusters/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/netclusters/count/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/netclusters/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/netclusters/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/netclusters/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/netclusters/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/netclusters/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/netclusters/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/netclusters/?f=ZIPSMILE&token=API_TOKENApi Model NetCluster
API Model description of NetCluster
| Name | Type | Description |
|---|---|---|
| firstTimeConnect | boolean | |
| fractionConnectedOverride | double | |
| id | int | |
| loadIDs | int[] | Net Loads ID |
| name | String | |
| ownerID | int | Stakeholder ID |
| scenarioID | int | Scenario ID |
| version | int |