Select token (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Select TQL|<onlyinclude> | {{Select TQL|<onlyinclude> | ||
{{Select TQL|tabletype=row|attribute=TOKEN|unit=String|description=Without clauses and [[Setting]]: TQL_TOKEN enabled this returns the [[Session]]'s [[API token]]. With clause parameters STAKEHOLDER or STAKEHOLDERTYPE the [[Stakeholder]] Web Token.|fixed=0|polygon=false|}}</onlyinclude> | {{Select TQL|tabletype=row|attribute=TOKEN|unit=String|description=Without clauses and [[Setting]]: TQL_TOKEN enabled this returns the [[Session]]'s [[API token]]. With clause parameters STAKEHOLDER or STAKEHOLDERTYPE this returns the [[Stakeholder]]'s Web Token.|fixed=0|polygon=false|}}</onlyinclude> | ||
}} | }} | ||
==Allowed clause parameters== | ==Allowed clause parameters== | ||
| Line 15: | Line 15: | ||
* [[API]] | * [[API]] | ||
* [[API tutorial]] | * [[API tutorial]] | ||
*[[TQL_Examples#Token]] | |||
|api=* [[Api session query]] | |api=* [[Api session query]] | ||
}} | }} | ||
{{TQL nav}} | {{TQL nav}} | ||
Latest revision as of 16:31, 25 November 2026
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|---|---|---|---|
| TOKEN | String | Without clauses and Setting: TQL_TOKEN enabled this returns the Session's API token. With clause parameters STAKEHOLDER or STAKEHOLDERTYPE this returns the Stakeholder's Web Token. | 0 | false |
Allowed clause parameters
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| STAKEHOLDER |
Integer (Item ID), ID, X, Y, XA, YA, XK or YK |
Stakeholder with ID. Only include Plots that are owned by the stakeholder with this ID. Only include Items that are related to this stakeholder. |
true |
| STAKEHOLDERTYPE | Stakeholder Type | Stakeholder Type with this value. Only include Plots that are owned by this type of Stakeholder. |
true |