Api session items stakeholders: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 50: | Line 50: | ||
"startPoint" : null, | "startPoint" : null, | ||
"type" : "CIVILIAN", | "type" : "CIVILIAN", | ||
"version" : | "version" : 5, | ||
"webToken" : "NZPc6qRkfTYYjmDPjywXADjj" | "webToken" : "NZPc6qRkfTYYjmDPjywXADjj" | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
| 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 Point== | |||
API Model description of Point | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model Stakeholder== | |||
API Model description of Stakeholder | |||
{|class=wikitable | |||
!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 | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model Type (Stakeholder)== | |||
API Enumeration description of Type | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|CIVILIAN | |||
| | |||
|- | |||
|COMPANY | |||
| | |||
|- | |||
|EDUCATION | |||
| | |||
|- | |||
|EXPERT | |||
| | |||
|- | |||
|FARMER | |||
| | |||
|- | |||
|HEALTHCARE | |||
| | |||
|- | |||
|HOUSING_CORPORATION | |||
| | |||
|- | |||
|MUNICIPALITY | |||
| | |||
|- | |||
|MEDIA | |||
| | |||
|- | |||
|PROJECT_DEVELOPER | |||
| | |||
|- | |||
|UTILITY_CORPORATION | |||
| | |||
|- | |||
|WATER_AUTHORITY | |||
| | |||
|- | |||
|OTHER_AUTHORITY | |||
| | |||
|- | |||
|OTHER | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor stakeholder]] | *[[Api session event editor stakeholder]] | ||
| Line 81: | 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 |