Api session event editor overlay add result child

From Tygron Support wiki
Jump to navigation Jump to search

API Event to Add a specified result type as a child Overlay to a specified grid Overlay. The child Overlay's result will be based on the parent's calculation, allowing you to get multiple types of results from the same calculation.

Name Importance Type Description Values
0 REQUIRED (OVERLAY Integer ID) Overlay ID (must relate to a grid Overlay with result types)
1 REQUIRED (String) Result type for new child Overlay (must be a valid result for the parent Overlay type)

Response Codes

Response Code: Description
200 Integer (Overlay ID)
300-600 Codes Overview

Example POST

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

with content:

[ 18, "Result type for new child Overlay" ]