Api session items netlines
Api session items Net Lines Endpoints.
Edit items with event: editornetline.
Default Query:
https://engine.tygron.com/api/session/items/netlines/?f=JSON&token=API_TOKENExample Response:
[ {
"attributes" : null,
"endNodeID" : 1,
"functionID" : 0,
"id" : 0,
"maquetteOverride" : null,
"name" : "NetLine 0",
"sourceIDs" : [ ],
"startNodeID" : 0,
"version" : 11
}, {
"attributes" : null,
"endNodeID" : 58,
"functionID" : 0,
"id" : 1,
"maquetteOverride" : null,
"name" : "NetLine 1",
"sourceIDs" : [ ],
"startNodeID" : 35,
"version" : 12
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/netlines/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/netlines/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/netlines/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/netlines/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/netlines/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/netlines/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/net_lines-foo/?crs=3857&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/netlines/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/netlines/size/?token=API_TOKENNet Lines (GeoJSON):
https://engine.tygron.com/web/lines.geojson?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/netlines/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/netlines/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/netlines/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/netlines/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/netlines/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/netlines/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/netlines/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/netlines/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/netlines/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/netlines/?f=ZIPSMILE&token=API_TOKENApi Model LoadAttribute
API Enumeration description of LoadAttribute
| Name | Description |
|---|---|
| CONNECTION_COST | |
| FLOW | |
| POWER | |
| CONNECTION_COUNT | |
| FLOOR_SPACE_M2 | |
| TYPE | |
| ROOT_LOAD | |
| LOAD_COUNT | |
| ADDRESS_COUNT | |
| CONNECTION_FRACTION | |
| PRESSURE_M_H2O_SUPPLY | |
| PRESSURE_M_H2O_RETURN | |
| TEMPERATURE_SUPPLY_DEGREES_CELSIUS |
Api Model LoadCostSegment
API Model description of LoadCostSegment
| Name | Type | Description |
|---|---|---|
| baseCost | double | |
| incrCost | double | |
| minValue | int |
Api Model LoadParameterType
API Enumeration description of LoadParameterType
| Name | Description |
|---|---|
| FLOW | |
| POWER | |
| CONNECTION_COST | |
| CONNECTION | |
| FLOOR_SPACE_M2 |
Api Model LoadType
API Enumeration description of LoadType
| Name | Description |
|---|---|
| UNKNOWN | |
| COLLECTIVE | |
| COLLECTIVE_TAP | |
| COLLECTIVE_RADIATOR | |
| COLLECTIVE_RADIATOR_TAP | |
| INDIVIDUAL | |
| LARGE_SCALE_CONSUMER |
Api Model NetFunction
API Model description of NetFunction
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| diameterM | double | |
| groupName | String | |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| netType | NetType | |
| priceM | double | |
| sourceIDs | int[] | Source ID |
| version | int |
Api Model NetLine
API Model description of NetLine
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| endNodeID | int | Net Node ID |
| functionID | int | Net Function ID |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| sourceIDs | int[] | Source ID |
| startNodeID | int | Net Node ID |
| version | int |
Api Model NetLineAttribute
API Enumeration description of NetLineAttribute
| Name | Description |
|---|---|
| FLOW | |
| DIAMETER_M | |
| ALWAYS_ACTIVE |
Api Model NetLineFunctionAttribute
API Enumeration description of NetLineFunctionAttribute
| Name | Description |
|---|---|
| PRICE_M | |
| VISUALIZATION_DIAMETER_M | |
| DIAMETER_M | |
| COLOR |
Api 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 NetOverlay
API Model description of NetOverlay
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| colorMultiplier | double | |
| colorOffset | int | |
| customLegend | boolean | |
| id | int | |
| imageName | String | |
| imageVersion | int | |
| legend | LegendEntry[] | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| netType | NetType | |
| parentID | int | Overlay ID |
| showActive | boolean | |
| showNetwork | boolean | |
| sortIndex | int | |
| type | OverlayType | |
| version | int | |
| visible | boolean |
Api Model NetType
API Enumeration description of NetType
| Name | Description |
|---|---|
| ELECTRICITY | |
| GAS | |
| HEAT | |
| INTERNET | |
| SEWER |