Api session event editor overlay set legend entry value

From Tygron Support wiki
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=JSON&token=API_TOKEN

with content:

[ 75, true, 42, 92 ]