Api session items indicators: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/indicators/?f=JSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/indicators/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
<syntaxhighlight lang="text" copy>[ ]</syntaxhighlight> | <syntaxhighlight lang="text" copy>[ { | ||
"absolute" : true, | |||
"attributes" : null, | |||
"calcTimeMS" : 0, | |||
"currentExplanation" : "Simple dummy Indicator", | |||
"description" : "", | |||
"exactNumberValues" : { }, | |||
"exactTextValues" : { }, | |||
"excelID" : 12, | |||
"id" : 0, | |||
"imageName" : "excel.png", | |||
"imageVersion" : 0, | |||
"isActive" : true, | |||
"mapTypeValues" : { | |||
"MAQUETTE" : 0.0, | |||
"CURRENT" : 0.0 | |||
}, | |||
"maquetteExplanation" : "", | |||
"maquetteOverride" : null, | |||
"name" : "Indicator", | |||
"parentID" : -1, | |||
"shortName" : "Indicator", | |||
"sortIndex" : 51, | |||
"stakeholderID" : -1, | |||
"targetDescriptions" : [ ], | |||
"targets" : { }, | |||
"updateTiming" : "BEFORE", | |||
"version" : 17, | |||
"warnings" : "" | |||
} ]</syntaxhighlight> | |||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
| Line 70: | Line 99: | ||
| excelID | | excelID | ||
| int | | int | ||
| | | [[Excel Sheet]] ID | ||
|- | |- | ||
| excelUpdated | | excelUpdated | ||
| Line 110: | Line 139: | ||
| parentID | | parentID | ||
| int | | int | ||
| | | [[Indicator]] ID | ||
|- | |- | ||
| shortName | | shortName | ||
| Line 122: | Line 151: | ||
| stakeholderID | | stakeholderID | ||
| int | | int | ||
| | | [[Stakeholder]] ID | ||
|- | |- | ||
| targetDescriptions | | targetDescriptions | ||
Latest revision as of 07:43, 22 June 2026
API Endpoint: /api/session/items/indicators/
Edit items with events described at Api session event editor indicator.
Default Query:
https://engine.tygron.com/api/session/items/indicators/?f=JSON&token=API_TOKENExample Response:
[ {
"absolute" : true,
"attributes" : null,
"calcTimeMS" : 0,
"currentExplanation" : "Simple dummy Indicator",
"description" : "",
"exactNumberValues" : { },
"exactTextValues" : { },
"excelID" : 12,
"id" : 0,
"imageName" : "excel.png",
"imageVersion" : 0,
"isActive" : true,
"mapTypeValues" : {
"MAQUETTE" : 0.0,
"CURRENT" : 0.0
},
"maquetteExplanation" : "",
"maquetteOverride" : null,
"name" : "Indicator",
"parentID" : -1,
"shortName" : "Indicator",
"sortIndex" : 51,
"stakeholderID" : -1,
"targetDescriptions" : [ ],
"targets" : { },
"updateTiming" : "BEFORE",
"version" : 17,
"warnings" : ""
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/indicators/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/indicators/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/indicators/size/?token=API_TOKENIndicators (GeoJSON):
https://engine.tygron.com/web/indicators.geojson?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/indicators/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/indicators/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/indicators/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/indicators/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/indicators/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/indicators/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/indicators/?f=ZIPSMILE&token=API_TOKENApi Model Indicator
API Model description of Indicator
| Name | Type | Description |
|---|---|---|
| absolute | boolean | |
| attributes | Map<String,double[]> | |
| calcTimeMS | long | |
| currentExplanation | String | |
| description | String | |
| exactNumberValues | Map<MapType,double> | Map<Map Type,double> |
| exactTextValues | Map<MapType,String> | Map<Map Type,String> |
| excelID | int | Excel Sheet ID |
| excelUpdated | boolean | |
| id | int | |
| imageName | String | |
| imageVersion | int | |
| isActive | boolean | |
| mapTypeValues | Map<MapType,double> | Map<Map Type,double> |
| maquetteExplanation | String | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| parentID | int | Indicator ID |
| shortName | String | |
| sortIndex | int | |
| stakeholderID | int | Stakeholder ID |
| targetDescriptions | String[] | |
| targets | Map<int,double[]> | |
| updateTiming | Timing | |
| version | int | |
| warnings | String |
Api Model MapType
API Enumeration description of MapType
| Name | Description |
|---|---|
| CURRENT | |
| MAQUETTE |
Api Model Timing
API Enumeration description of Timing
| Name | Description |
|---|---|
| BEFORE | |
| AFTER |