Api session event editor zoning set color

From Tygron Support wiki
Jump to navigation Jump to search

API Event to Set new color of existing Zoning

Name Importance Type Description Values
0 REQUIRED (ZONE Integer ID or multiple values in array [1, 2, 3]) Zone
1 REQUIRED (TColor or multiple values in array [a, b, c]) Color[]

Response Codes

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

Example POST

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

with content:

[ [ 1, 2, 3 ], [ {
 "argb" : 940592924
}, {
 "argb" : 1655818262
}, {
 "argb" : 767625447
} ] ]