Api session items globals: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: /api/session/items/globals/ | |||
Edit items with | Edit items with events described at [[Api session event editor global]]. | ||
Default Query: | Default Query: | ||
| Line 17: | Line 17: | ||
"queryTiming" : "AFTER", | "queryTiming" : "AFTER", | ||
"startValue" : [ 1.0, 2.0 ], | "startValue" : [ 1.0, 2.0 ], | ||
"version" : | "version" : 1, | ||
"visualisationName" : "" | "visualisationName" : "" | ||
}, { | }, { | ||
| Line 30: | Line 30: | ||
"queryTiming" : "AFTER", | "queryTiming" : "AFTER", | ||
"startValue" : [ 3.0, 4.0 ], | "startValue" : [ 3.0, 4.0 ], | ||
"version" : | "version" : 2, | ||
"visualisationName" : "" | "visualisationName" : "" | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
| Line 48: | Line 48: | ||
FOO: | FOO: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/attributes/?token=API_TOKEN</syntaxhighlight> | |||
max version: | max version: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/version/?token=API_TOKEN</syntaxhighlight> | ||
count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/count/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=HTML&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=HTML&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
JSON: | JSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
GEOJSON: | GEOJSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=GEOJSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=GEOJSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
GPKG: | GPKG: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=GPKG&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=GPKG&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
DXF: | DXF: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=DXF&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=DXF&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
CSV: | CSV: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=CSV&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=CSV&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
SSV: | SSV: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=SSV&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=SSV&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
SMILE: | SMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=SMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=SMILE&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=ZIPJSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=ZIPSMILE&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
==Api Model Global== | ==Api Model Global== | ||
API Model description of Global | API Model description of Global | ||
| Line 82: | Line 84: | ||
!Description | !Description | ||
|- | |- | ||
|actualValue | | actualValue | ||
|double[] | | double[] | ||
| | | | ||
|- | |- | ||
|bookValueStakeholderID | | bookValueStakeholderID | ||
|int | | int | ||
|[[Stakeholder]] ID | | [[Stakeholder]] ID | ||
|- | |- | ||
|calcTimeMS | | calcTimeMS | ||
|long | | long | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|point | | point | ||
|Point | | Point | ||
| | | [[Point]] | ||
|- | |- | ||
|previousValue | | previousValue | ||
|double[] | | double[] | ||
| | | | ||
|- | |- | ||
|query | | query | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|queryTiming | | queryTiming | ||
|Timing | | Timing | ||
| | | | ||
|- | |- | ||
|startValue | | startValue | ||
|double[] | | double[] | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|visualisationName | | visualisationName | ||
|String | | String | ||
| | | | ||
|} | |} | ||
| Line 138: | Line 140: | ||
!Type | !Type | ||
!Description | !Description | ||
|- | |||
| type | |||
| String | |||
| [[Point]] | |||
|- | |||
| coordinates | |||
| double[] | |||
| x, y, (optional) z | |||
|} | |} | ||
| Line 147: | Line 157: | ||
!Description | !Description | ||
|- | |- | ||
|BEFORE | | BEFORE | ||
| | | | ||
|- | |- | ||
|AFTER | | AFTER | ||
| | | | ||
|} | |} | ||
| Line 159: | Line 169: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 07:06, 14 July 2026
API Endpoint: /api/session/items/globals/
Edit items with events described at Api session event editor global.
Default Query:
https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKENExample Response:
[ {
"actualValue" : [ 1.0, 2.0 ],
"bookValueStakeholderID" : -1,
"calcTimeMS" : 0,
"id" : 2,
"name" : "HELLO",
"point" : null,
"previousValue" : [ 1.0, 2.0 ],
"query" : "",
"queryTiming" : "AFTER",
"startValue" : [ 1.0, 2.0 ],
"version" : 1,
"visualisationName" : ""
}, {
"actualValue" : [ 3.0, 4.0 ],
"bookValueStakeholderID" : -1,
"calcTimeMS" : 0,
"id" : 3,
"name" : "HELLO2",
"point" : null,
"previousValue" : [ 3.0, 4.0 ],
"query" : "",
"queryTiming" : "AFTER",
"startValue" : [ 3.0, 4.0 ],
"version" : 2,
"visualisationName" : ""
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/globals/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/globals/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/globals/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/globals/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/globals/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/globals/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/globals-foo/?crs=3857&token=API_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/globals/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/globals/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/globals/count/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/globals/?f=HTML&token=API_TOKEN&crs=3857JSON:
https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKEN&crs=3857GEOJSON:
https://engine.tygron.com/api/session/items/globals/?f=GEOJSON&token=API_TOKEN&crs=3857GPKG:
https://engine.tygron.com/api/session/items/globals/?f=GPKG&token=API_TOKEN&crs=3857DXF:
https://engine.tygron.com/api/session/items/globals/?f=DXF&token=API_TOKEN&crs=3857CSV:
https://engine.tygron.com/api/session/items/globals/?f=CSV&token=API_TOKEN&crs=3857SSV:
https://engine.tygron.com/api/session/items/globals/?f=SSV&token=API_TOKEN&crs=3857SMILE:
https://engine.tygron.com/api/session/items/globals/?f=SMILE&token=API_TOKEN&crs=3857ZIPJSON:
https://engine.tygron.com/api/session/items/globals/?f=ZIPJSON&token=API_TOKEN&crs=3857ZIPSMILE:
https://engine.tygron.com/api/session/items/globals/?f=ZIPSMILE&token=API_TOKEN&crs=3857Api Model Global
API Model description of Global
| Name | Type | Description |
|---|---|---|
| actualValue | double[] | |
| bookValueStakeholderID | int | Stakeholder ID |
| calcTimeMS | long | |
| id | int | |
| name | String | |
| point | Point | Point |
| previousValue | double[] | |
| query | String | |
| queryTiming | Timing | |
| startValue | double[] | |
| version | int | |
| visualisationName | String |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|---|---|
| type | String | Point |
| coordinates | double[] | x, y, (optional) z |
Api Model Timing
API Enumeration description of Timing
| Name | Description |
|---|---|
| BEFORE | |
| AFTER |