Api session items popups: Difference between revisions
Replaced content with "Api session items Popup Endpoints. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/popups/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "answers" : [ ], "calendar" : null, "color" : { "argb" : -6704129 }, "id" : 0, "imageType" : "RECEIVE_REQUEST", "linkID" : 1, "linkType" : "PANELS", "modelDataID" : -1, "modelType" : "DECLINED", "name" : " 1..." Tag: Replaced |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 102: | Line 102: | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/popups/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/popups/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model Answer== | |||
API Model description of Answer | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|clientEvents | |||
|CodedEvent<nowiki>[]</nowiki> | |||
| | |||
|- | |||
|contents | |||
|String | |||
| | |||
|- | |||
|events | |||
|CodedEvent<nowiki>[]</nowiki> | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|selected | |||
|boolean | |||
| | |||
|} | |||
==Api Model CodedEvent== | |||
API Model description of CodedEvent | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|parameters | |||
|Object<nowiki>[]</nowiki> | |||
| | |||
|} | |||
==Api Model EmptyMultiPolygon== | |||
API Model description of EmptyMultiPolygon | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model GeometryCollection== | |||
API Model description of GeometryCollection | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model MultiPolygon== | |||
API Model description of MultiPolygon | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model Point== | |||
API Model description of Point | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model PopupData== | ==Api Model PopupData== | ||
API Model description of PopupData | API Model description of PopupData | ||
| Line 193: | Line 275: | ||
|int | |int | ||
| | | | ||
|} | |||
==Api Model PopupImageType== | |||
API Enumeration description of PopupImageType | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|PICK_DATE | |||
| | |||
|- | |||
|REQUEST_PERMIT | |||
| | |||
|- | |||
|RECEIVE_REQUEST | |||
| | |||
|- | |||
|WAITING | |||
| | |||
|- | |||
|DECLINE | |||
| | |||
|- | |||
|APPROVE | |||
| | |||
|- | |||
|WAIT_BUILD | |||
| | |||
|- | |||
|WAIT_DEMOLISH | |||
| | |||
|- | |||
|BUILD_PROGRESS | |||
| | |||
|- | |||
|DEMOLISH_PROGRESS | |||
| | |||
|- | |||
|BUY_LAND | |||
| | |||
|- | |||
|SELL_LAND | |||
| | |||
|} | |||
==Api Model PopupModelType== | |||
API Enumeration description of PopupModelType | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|APPROVED | |||
| | |||
|- | |||
|ARROW | |||
| | |||
|- | |||
|BUY | |||
| | |||
|- | |||
|CONNECT_ON | |||
| | |||
|- | |||
|CONNECT_OFF | |||
| | |||
|- | |||
|CONSTRUCTING | |||
| | |||
|- | |||
|ELEVATION | |||
| | |||
|- | |||
|DECLINED | |||
| | |||
|- | |||
|DEMOLISHING | |||
| | |||
|- | |||
|WAITING | |||
| | |||
|- | |||
|QUESTION_MARK | |||
| | |||
|- | |||
|TRAFFIC_NOISE | |||
| | |||
|- | |||
|WATER_CRANE | |||
| | |||
|- | |||
|WATER_ARROW | |||
| | |||
|- | |||
|WATER_WEIR | |||
| | |||
|- | |||
|LIGHT_BULB | |||
| | |||
|- | |||
|LIGHTNING | |||
| | |||
|- | |||
|BAR_CHART | |||
| | |||
|- | |||
|EXCLAMATION | |||
| | |||
|} | |||
==Api Model TColor== | |||
API Model description of TColor | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |} | ||
| Line 223: | Line 423: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:14, 24 April 2026
Api session items Popup Endpoints.
Default Query:
https://engine.tygron.com/api/session/items/popups/?f=JSON&token=API_TOKENExample Response:
[ {
"answers" : [ ],
"calendar" : null,
"color" : {
"argb" : -6704129
},
"id" : 0,
"imageType" : "RECEIVE_REQUEST",
"linkID" : 1,
"linkType" : "PANELS",
"modelDataID" : -1,
"modelType" : "DECLINED",
"name" : " 1",
"opensAutomatically" : false,
"overrideAttention" : true,
"point" : {
"type" : "Point",
"coordinates" : [ 658907.9990757483, 6798948.801026824, 36.557 ]
},
"polygons" : null,
"scale" : 1.0,
"text" : "",
"title" : "Text Panel",
"type" : "INTERACTION",
"version" : 3,
"visibleForStakeholderIDs" : [ 0, 1, 2, 3, 4, 5 ],
"visibleTimeframe" : 0
}, {
"answers" : [ ],
"calendar" : null,
"color" : {
"argb" : -19610
},
"id" : 1,
"imageType" : "RECEIVE_REQUEST",
"linkID" : 2,
"linkType" : "PANELS",
"modelDataID" : -1,
"modelType" : "ELEVATION",
"name" : " 2",
"opensAutomatically" : false,
"overrideAttention" : true,
"point" : {
"type" : "Point",
"coordinates" : [ 659100.8960954784, 6799034.555303296, 80.804 ]
},
"polygons" : null,
"scale" : 1.0,
"text" : "",
"title" : "Text Panel (2)",
"type" : "INTERACTION",
"version" : 6,
"visibleForStakeholderIDs" : [ 0, 1, 2, 3, 4, 5 ],
"visibleTimeframe" : 0
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/popups/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/popups/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/popups/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/popups/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/popups/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/popups/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/popups-foo/?crs=3857&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/popups/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/popups/size/?token=API_TOKENPopups (GeoJSON):
https://engine.tygron.com/web/popups.geojson?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/popups/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/popups/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/popups/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/popups/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/popups/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/popups/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/popups/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/popups/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/popups/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/popups/?f=ZIPSMILE&token=API_TOKENApi Model Answer
API Model description of Answer
| Name | Type | Description |
|---|---|---|
| clientEvents | CodedEvent[] | |
| contents | String | |
| events | CodedEvent[] | |
| id | int | |
| selected | boolean |
Api Model CodedEvent
API Model description of CodedEvent
| Name | Type | Description |
|---|---|---|
| id | int | |
| parameters | Object[] |
Api Model EmptyMultiPolygon
API Model description of EmptyMultiPolygon
| Name | Type | Description |
|---|
Api Model GeometryCollection
API Model description of GeometryCollection
| Name | Type | Description |
|---|
Api Model MultiPolygon
API Model description of MultiPolygon
| Name | Type | Description |
|---|
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|
Api Model PopupData
API Model description of PopupData
| Name | Type | Description |
|---|---|---|
| answers | Answer[] | |
| calendar | long | |
| color | TColor | |
| id | int | |
| imageType | PopupImageType | |
| linkID | int | |
| linkType | MapLink | |
| modelDataID | int | Model Data ID |
| modelType | PopupModelType | |
| name | String | |
| opensAutomatically | boolean | |
| overrideAttention | Boolean | |
| point | Point | |
| polygons | MultiPolygon | |
| scale | double | |
| text | String | |
| title | String | |
| type | Type | |
| version | int | |
| visibleForStakeholderIDs | int[] | Stakeholder ID |
| visibleTimeframe | int |
Api Model PopupImageType
API Enumeration description of PopupImageType
| Name | Description |
|---|---|
| PICK_DATE | |
| REQUEST_PERMIT | |
| RECEIVE_REQUEST | |
| WAITING | |
| DECLINE | |
| APPROVE | |
| WAIT_BUILD | |
| WAIT_DEMOLISH | |
| BUILD_PROGRESS | |
| DEMOLISH_PROGRESS | |
| BUY_LAND | |
| SELL_LAND |
Api Model PopupModelType
API Enumeration description of PopupModelType
| Name | Description |
|---|---|
| APPROVED | |
| ARROW | |
| BUY | |
| CONNECT_ON | |
| CONNECT_OFF | |
| CONSTRUCTING | |
| ELEVATION | |
| DECLINED | |
| DEMOLISHING | |
| WAITING | |
| QUESTION_MARK | |
| TRAFFIC_NOISE | |
| WATER_CRANE | |
| WATER_ARROW | |
| WATER_WEIR | |
| LIGHT_BULB | |
| LIGHTNING | |
| BAR_CHART | |
| EXCLAMATION |
Api Model TColor
API Model description of TColor
| Name | Type | Description |
|---|
Api Model Type (PopupData)
API Enumeration description of Type
| Name | Description |
|---|---|
| STAKEHOLDER_STANDARD | |
| INTERACTION | |
| INTERACTION_WITH_DATE | |
| INFORMATION | |
| LABEL |