Api session event editor stakeholder set color

From Tygron Support wiki
Jump to navigation Jump to search

API Event to Set new color of existing Stakeholder

Name Importance Type Description Values
0 REQUIRED (STAKEHOLDER Integer ID or multiple values in array [1, 2, 3]) Stakeholder
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/editorstakeholder/set_color/?f=JSON&token=API_TOKEN

with content:

[ [ 1, 2, 3 ], [ {
 "argb" : -1033106479
}, {
 "argb" : 469075855
}, {
 "argb" : 1592522924
} ] ]