Api session event editor building reset function values

From Tygron Support wiki
Revision as of 14:50, 30 March 2026 by Frank@tygron.nl (talk | contribs)
Jump to navigation Jump to search

API Event to Reset Function Values

Name Importance Type Description Values
0 REQUIRED (BUILDING Integer ID) Buildings
1 REQUIRED (FunctionValue or multiple values in array [a, b, c]) Function Value[]

Response Codes

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

Example POST

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

with content:

[ 24, [ "EXTRA_COLOR", "NUM_CARS", "NUM_BUSES" ] ]