Api session items netloads: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "Api session items Net Loads Endpoints. Edit items with event: editornetload. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netloads/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "addressIDs" : [ ], "attributes" : { "ROOT_LOAD" : [ 1.0 ] }, "buildingID" : -1, "clusterID" : -1, "connectionState" : "NOTHING", "id..." Tag: Replaced |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 21: | Line 21: | ||
"point" : null, | "point" : null, | ||
"sourceIDs" : [ ], | "sourceIDs" : [ ], | ||
"version" : | "version" : 51 | ||
}, { | }, { | ||
"addressIDs" : [ 90 ], | "addressIDs" : [ 90 ], | ||
| Line 37: | Line 37: | ||
"point" : null, | "point" : null, | ||
"sourceIDs" : [ 12 ], | "sourceIDs" : [ 12 ], | ||
"version" : | "version" : 52 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
| Line 80: | Line 80: | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netloads/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netloads/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model | ==Api Model NetLoad== | ||
API | API Model description of NetLoad | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
!Type | |||
!Description | !Description | ||
|- | |- | ||
| | |addressIDs | ||
| | |int<nowiki>[]</nowiki> | ||
|[[Address]] ID | |||
|- | |- | ||
| | |attributes | ||
|Map<String,double[]> | |||
| | | | ||
|- | |- | ||
| | |buildingID | ||
| | |int | ||
|[[Building]] ID | |||
|- | |- | ||
| | |clusterID | ||
| | |int | ||
|[[Net Cluster]] ID | |||
|- | |- | ||
| | |connectionState | ||
|TimeState | |||
| | | | ||
|- | |- | ||
| | |id | ||
|int | |||
| | | | ||
|- | |- | ||
| | |maquetteOverride | ||
|Map<String,double[]> | |||
| | | | ||
|- | |- | ||
| | |name | ||
|String | |||
| | | | ||
|- | |- | ||
| | |netType | ||
|NetType | |||
| | | | ||
|- | |- | ||
| | |nodeID | ||
| | |int | ||
|[[Net Node]] ID | |||
|- | |- | ||
| | |point | ||
|Point | |||
| | | | ||
|- | |- | ||
| | |sourceIDs | ||
| | |int<nowiki>[]</nowiki> | ||
|[[Source]] ID | |||
|- | |- | ||
| | |version | ||
|int | |||
| | | | ||
|} | |} | ||
==Api Model | ==Api Model NetType== | ||
API | API Enumeration description of NetType | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
!Description | !Description | ||
|- | |- | ||
| | |ELECTRICITY | ||
| | | | ||
|- | |||
|GAS | |||
| | |||
|- | |||
|HEAT | |||
| | | | ||
|- | |- | ||
| | |INTERNET | ||
| | | | ||
|- | |- | ||
| | |SEWER | ||
| | | | ||
|} | |} | ||
==Api Model | ==Api Model Point== | ||
API | API Model description of Point | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
!Type | |||
!Description | !Description | ||
|} | |} | ||
==Api Model | ==Api Model TimeState== | ||
API Enumeration description of | API Enumeration description of TimeState | ||
{|class=wikitable | {|class=wikitable | ||
| Line 178: | Line 180: | ||
!Description | !Description | ||
|- | |- | ||
| | |NOTHING | ||
| | | | ||
|- | |- | ||
| | |WAITING_FOR_DATE | ||
| | | | ||
|- | |- | ||
| | |REQUEST_PLOT_OWNER_APPROVAL | ||
| | | | ||
|- | |- | ||
| | |REQUEST_ZONING_APPROVAL | ||
| | | | ||
|- | |- | ||
| | |REQUEST_CONSTRUCTION_APPROVAL | ||
| | | | ||
|- | |- | ||
| | |CONSTRUCTION_APPROVED | ||
| | | | ||
|- | |- | ||
| | |CONSTRUCTION_DENIED | ||
| | | | ||
|- | |- | ||
| | |PENDING_CONSTRUCTION | ||
| | | | ||
|- | |- | ||
| | |CONSTRUCTING | ||
| | | | ||
|- | |- | ||
| | |READY | ||
| | | | ||
|- | |- | ||
| | |PENDING_UPGRADE | ||
| | | | ||
|- | |- | ||
| | |WAITING_FOR_DEMOLISH_DATE | ||
| | | | ||
|- | |- | ||
| | |REQUEST_DEMOLISH_ZONING_APPROVAL | ||
| | | | ||
|- | |- | ||
| | |REQUEST_DEMOLISH_APPROVAL | ||
| | | | ||
|- | |- | ||
| | |DEMOLISH_APPROVED | ||
| | | | ||
|- | |- | ||
| | |DEMOLISH_DENIED | ||
| | | | ||
|- | |- | ||
| | |PENDING_DEMOLISHING | ||
| | | | ||
|- | |- | ||
| | |DEMOLISHING | ||
| | | | ||
|- | |- | ||
| | |DEMOLISH_FINISHED | ||
| | | | ||
|} | |} | ||
| Line 266: | Line 243: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:14, 24 April 2026
Api session items Net Loads Endpoints.
Edit items with event: editornetload.
Default Query:
https://engine.tygron.com/api/session/items/netloads/?f=JSON&token=API_TOKENExample Response:
[ {
"addressIDs" : [ ],
"attributes" : {
"ROOT_LOAD" : [ 1.0 ]
},
"buildingID" : -1,
"clusterID" : -1,
"connectionState" : "NOTHING",
"id" : 0,
"maquetteOverride" : null,
"name" : "NetLoad 0",
"netType" : "ELECTRICITY",
"nodeID" : 0,
"point" : null,
"sourceIDs" : [ ],
"version" : 51
}, {
"addressIDs" : [ 90 ],
"attributes" : {
"TYPE" : [ 5.0 ]
},
"buildingID" : 444,
"clusterID" : 0,
"connectionState" : "NOTHING",
"id" : 1,
"maquetteOverride" : null,
"name" : "NetLoad 1",
"netType" : "ELECTRICITY",
"nodeID" : 2,
"point" : null,
"sourceIDs" : [ 12 ],
"version" : 52
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/netloads/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/netloads/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/netloads/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/netloads/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/netloads/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/netloads/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/net_loads-foo/?crs=3857&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/netloads/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/netloads/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/netloads/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/netloads/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/netloads/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/netloads/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/netloads/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/netloads/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/netloads/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/netloads/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/netloads/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/netloads/?f=ZIPSMILE&token=API_TOKENApi Model NetLoad
API Model description of NetLoad
| Name | Type | Description |
|---|---|---|
| addressIDs | int[] | Address ID |
| attributes | Map<String,double[]> | |
| buildingID | int | Building ID |
| clusterID | int | Net Cluster ID |
| connectionState | TimeState | |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| netType | NetType | |
| nodeID | int | Net Node ID |
| point | Point | |
| sourceIDs | int[] | Source ID |
| version | int |
Api Model NetType
API Enumeration description of NetType
| Name | Description |
|---|---|
| ELECTRICITY | |
| GAS | |
| HEAT | |
| INTERNET | |
| SEWER |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|
Api Model TimeState
API Enumeration description of TimeState
| Name | Description |
|---|---|
| NOTHING | |
| WAITING_FOR_DATE | |
| REQUEST_PLOT_OWNER_APPROVAL | |
| REQUEST_ZONING_APPROVAL | |
| REQUEST_CONSTRUCTION_APPROVAL | |
| CONSTRUCTION_APPROVED | |
| CONSTRUCTION_DENIED | |
| PENDING_CONSTRUCTION | |
| CONSTRUCTING | |
| READY | |
| PENDING_UPGRADE | |
| WAITING_FOR_DEMOLISH_DATE | |
| REQUEST_DEMOLISH_ZONING_APPROVAL | |
| REQUEST_DEMOLISH_APPROVAL | |
| DEMOLISH_APPROVED | |
| DEMOLISH_DENIED | |
| PENDING_DEMOLISHING | |
| DEMOLISHING | |
| DEMOLISH_FINISHED |