Api session event editor building reset function values

From Tygron Support wiki
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:

[ 72, [ "WATER_MANNING", "NUM_AIRPLANES", "VEGETATION_FRACTION" ] ]