Api session items globals: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
"queryTiming" : "AFTER", | "queryTiming" : "AFTER", | ||
"startValue" : [ 1.0, 2.0 ], | "startValue" : [ 1.0, 2.0 ], | ||
"version" : | "version" : 2, | ||
"visualisationName" : "" | "visualisationName" : "" | ||
}, { | }, { | ||
| Line 30: | Line 30: | ||
"queryTiming" : "AFTER", | "queryTiming" : "AFTER", | ||
"startValue" : [ 3.0, 4.0 ], | "startValue" : [ 3.0, 4.0 ], | ||
"version" : | "version" : 1, | ||
"visualisationName" : "" | "visualisationName" : "" | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
| Line 128: | Line 128: | ||
|visualisationName | |visualisationName | ||
|String | |String | ||
| | |||
|} | |||
==Api Model Point== | |||
API Model description of Point | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model Timing== | |||
API Enumeration description of Timing | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|BEFORE | |||
| | |||
|- | |||
|AFTER | |||
| | | | ||
|} | |} | ||
| Line 136: | Line 159: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:13, 24 April 2026
Api session items Global Endpoints.
Edit items with event: editorglobal.
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" : 2,
"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" : 1,
"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_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/globals/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/globals/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/globals/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/globals/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/globals/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/globals/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/globals/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/globals/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/globals/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/globals/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/globals/?f=ZIPSMILE&token=API_TOKENApi Model Global
API Model description of Global
| Name | Type | Description |
|---|---|---|
| actualValue | double[] | |
| bookValueStakeholderID | int | Stakeholder ID |
| calcTimeMS | long | |
| id | int | |
| name | String | |
| 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 |
|---|
Api Model Timing
API Enumeration description of Timing
| Name | Description |
|---|---|
| BEFORE | |
| AFTER |