Api session event editor building query

From Tygron Support wiki
Revision as of 10:05, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Executes a single TQL query. Note: you can also use the session/query endpoint to execute multiple statements and get additional information on API usage. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(String) |TQL Query Statement | |- |1 |OPTIONAL |(Floating point number or multiple values in array [1.0, 2.0, 3.0]) |Value for update queries (optional) | |} ===Response Codes=== {|class=wikitable !Re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Event to Executes a single TQL query. Note: you can also use the session/query endpoint to execute multiple statements and get additional information on API usage.

Name Importance Type Description Values
0 REQUIRED (String) TQL Query Statement
1 OPTIONAL (Floating point number or multiple values in array [1.0, 2.0, 3.0]) Value for update queries (optional)

Response Codes

Response Code: Description
200 Object (Object)
300-600 Codes Overview

Example POST

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

with content:

[ "TQL Query Statement", "" ]