Api session event editor building reset function values

From Tygron Support wiki
Revision as of 12:04, 1 April 2026 by Frank@tygron.nl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Event to Reset Function Values

Name Importance Type Description Values
0 REQUIRED (BUILDING Integer ID) Building
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=JSON&token=API_TOKEN

with content:

[ 20, [ "NUM_PEDESTRIANS", "MONUMENTAL", "SEWERED" ] ]