Api session event editor overlay set legend entry value

From Tygron Support wiki
Revision as of 10:18, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Change the value of a specified legend entry of a custom legend of a specified Overlay. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(OVERLAY Integer ID) |Overlay ID | |- |1 |REQUIRED |(true, false) |Affect the custom difference legend (false means affect the normal custom legend) |true or false |- |2 |REQUIRED |(Integer number) |ID of entry which should be changed | |- |3 |REQUIRED |(Floating point number) |New v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Event to Change the value of a specified legend entry of a custom legend of a specified Overlay.

Name Importance Type Description Values
0 REQUIRED (OVERLAY Integer ID) Overlay ID
1 REQUIRED (true, false) Affect the custom difference legend (false means affect the normal custom legend) true or false
2 REQUIRED (Integer number) ID of entry which should be changed
3 REQUIRED (Floating point number) New value for the entry

Response Codes

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

Example POST

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

with content:

[ 0, true, 31, 81 ]