Api session items stakeholders: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "Api session items Stakeholder Endpoints. Edit items with event: editorstakeholder. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/stakeholders/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "active" : true, "client" : null, "color" : { "argb" : -3355444 }, "id" : 0, "imageName" : "municipality.png", "imageVe..." Tag: Replaced |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 76: | Line 76: | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/stakeholders/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/stakeholders/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model | ==Api Model Point== | ||
API Model description of | API Model description of Point | ||
{|class=wikitable | {|class=wikitable | ||
| Line 83: | Line 83: | ||
!Type | !Type | ||
!Description | !Description | ||
|} | |} | ||
| Line 340: | Line 158: | ||
|} | |} | ||
==Api Model | ==Api Model TColor== | ||
API | API Model description of TColor | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
!Type | |||
!Description | !Description | ||
|} | |} | ||
| Line 430: | Line 222: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:14, 24 April 2026
Api session items Stakeholder Endpoints.
Edit items with event: editorstakeholder.
Default Query:
https://engine.tygron.com/api/session/items/stakeholders/?f=JSON&token=API_TOKENExample Response:
[ {
"active" : true,
"client" : null,
"color" : {
"argb" : -3355444
},
"id" : 0,
"imageName" : "municipality.png",
"imageVersion" : 0,
"lastSelected" : 1774446787083,
"name" : "Municipality Arnhem",
"shortName" : "Arnhem",
"startBudget" : 0.0,
"startBudgets" : {
"0" : 1000000.0
},
"startCinematics" : {
"0" : 0
},
"startPoint" : null,
"type" : "MUNICIPALITY",
"version" : 6,
"webToken" : "RHVXnEVpNcbfEBNQKWmwxAXQ"
}, {
"active" : true,
"client" : null,
"color" : {
"argb" : -360334
},
"id" : 1,
"imageName" : "civilian.png",
"imageVersion" : 0,
"lastSelected" : 1741957674390,
"name" : "Inhabitants",
"shortName" : "Inhabitants",
"startBudget" : 0.0,
"startBudgets" : {
"0" : 0.0
},
"startCinematics" : {
"0" : 0
},
"startPoint" : null,
"type" : "CIVILIAN",
"version" : 5,
"webToken" : "NZPc6qRkfTYYjmDPjywXADjj"
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/stakeholders/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/stakeholders/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/stakeholders/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/stakeholders/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/stakeholders/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/stakeholders/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/stakeholders/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/stakeholders/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/stakeholders/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/stakeholders/?f=ZIPSMILE&token=API_TOKENApi Model Point
API Model description of Point
| Name | Type | Description |
|---|
Api Model Stakeholder
API Model description of Stakeholder
| Name | Type | Description |
|---|---|---|
| active | boolean | |
| client | ClientData | |
| color | TColor | |
| id | int | |
| imageName | String | |
| imageVersion | int | |
| lastSelected | long | |
| name | String | |
| shortName | String | |
| startBudget | double | |
| startBudgets | Map<int,double> | |
| startCinematics | Map<int,int> | |
| startPoint | Point | |
| type | Type | |
| version | int | |
| webToken | String |
Api Model TColor
API Model description of TColor
| Name | Type | Description |
|---|
Api Model Type (Stakeholder)
API Enumeration description of Type
| Name | Description |
|---|---|
| CIVILIAN | |
| COMPANY | |
| EDUCATION | |
| EXPERT | |
| FARMER | |
| HEALTHCARE | |
| HOUSING_CORPORATION | |
| MUNICIPALITY | |
| MEDIA | |
| PROJECT_DEVELOPER | |
| UTILITY_CORPORATION | |
| WATER_AUTHORITY | |
| OTHER_AUTHORITY | |
| OTHER |