Api session items indicators: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (11 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 40: | Line 69: | ||
!Description | !Description | ||
|- | |- | ||
|absolute | | absolute | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|attributes | | attributes | ||
|Map<String,double[]> | | Map<String,double[]> | ||
| | | | ||
|- | |- | ||
|calcTimeMS | | calcTimeMS | ||
|long | | long | ||
| | | | ||
|- | |- | ||
|currentExplanation | | currentExplanation | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|description | | description | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|exactNumberValues | | exactNumberValues | ||
|Map<MapType,double> | | Map<MapType,double> | ||
| | | Map<[[Map Type]],double> | ||
|- | |- | ||
|exactTextValues | | exactTextValues | ||
|Map<MapType,String> | | Map<MapType,String> | ||
| | | Map<[[Map Type]],String> | ||
|- | |- | ||
|excelID | | excelID | ||
|int | | int | ||
|[[Excel Sheet]] ID | | [[Excel Sheet]] ID | ||
|- | |- | ||
|excelUpdated | | excelUpdated | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|imageName | | imageName | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|imageVersion | | imageVersion | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|isActive | | isActive | ||
|boolean | | boolean | ||
| | | | ||
|- | |- | ||
|mapTypeValues | | mapTypeValues | ||
|Map<MapType,double> | | Map<MapType,double> | ||
| | | Map<[[Map Type]],double> | ||
|- | |- | ||
|maquetteExplanation | | maquetteExplanation | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|maquetteOverride | | maquetteOverride | ||
|Map<String,double[]> | | Map<String,double[]> | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|parentID | | parentID | ||
|int | | int | ||
|[[Indicator]] ID | | [[Indicator]] ID | ||
|- | |- | ||
|shortName | | shortName | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|sortIndex | | sortIndex | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|stakeholderID | | stakeholderID | ||
|int | | int | ||
|[[Stakeholder]] ID | | [[Stakeholder]] ID | ||
|- | |- | ||
|targetDescriptions | | targetDescriptions | ||
|String<nowiki>[]</nowiki> | | String<nowiki>[]</nowiki> | ||
| | | | ||
|- | |- | ||
|targets | | targets | ||
|Map<int,double[]> | | Map<int,double[]> | ||
| | | | ||
|- | |- | ||
|updateTiming | | updateTiming | ||
|Timing | | Timing | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|warnings | | warnings | ||
|String | | String | ||
| | | | ||
|} | |} | ||
| Line 152: | Line 181: | ||
!Description | !Description | ||
|- | |- | ||
|CURRENT | | CURRENT | ||
| | | | ||
|- | |- | ||
|MAQUETTE | | MAQUETTE | ||
| | | | ||
|} | |} | ||
| Line 166: | Line 195: | ||
!Description | !Description | ||
|- | |- | ||
|BEFORE | | BEFORE | ||
| | | | ||
|- | |- | ||
|AFTER | | AFTER | ||
| | | | ||
|} | |} | ||
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 |