Api session event editor indicator set parent: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set a parent Indicator for a specified Indicator. This will cause the specified Indicator to be a subselectable Indicator of the parent. It is not possible to set an Indicator which has a parent itself as a parent of another Indicator. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(INDICATOR Integer ID) |Indicator ID | |- |1 |REQUIRED |(Integer number) |Indicator ID of parent (indicators without a parent should h..."
 
No edit summary
Line 1: Line 1:
API Event to Set a parent [[Indicator]] for a specified Indicator. This will cause the specified Indicator to be a subselectable Indicator of the parent. It is not possible to set an Indicator which has a parent itself as a parent of another Indicator.
API Event to Set a parent Indicator for a specified Indicator. This will cause the specified Indicator to be a subselectable Indicator of the parent. It is not possible to set an Indicator which has a parent itself as a parent of another Indicator.
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(INDICATOR Integer ID)
|(INDICATOR Integer ID)
|[[Indicator]] ID
|Indicator ID
|
|
|-
|-
Line 16: Line 16:
|REQUIRED
|REQUIRED
|(Integer number)
|(Integer number)
|[[Indicator]] ID of parent (indicators without a parent should have their parent Indicator ID set to -1)
|Indicator ID of parent (indicators without a parent should have their parent Indicator ID set to -1)
|
|
|}
|}
Line 34: Line 34:


with content:  
with content:  
<pre>[ 10, 45 ]
<pre>[ 45, 13 ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor indicator]]}}
{{article end|seealso=*[[api session event editor indicator]]}}


[[Category:API]]
[[Category:API]]

Revision as of 13:49, 30 March 2026

API Event to Set a parent Indicator for a specified Indicator. This will cause the specified Indicator to be a subselectable Indicator of the parent. It is not possible to set an Indicator which has a parent itself as a parent of another Indicator.

Name Importance Type Description Values
0 REQUIRED (INDICATOR Integer ID) Indicator ID
1 REQUIRED (Integer number) Indicator ID of parent (indicators without a parent should have their parent Indicator ID set to -1)

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorindicator/set_parent/?f=HTML&token=API_TOKEN

with content:

[ 45, 13 ]