Api session event editor upgradetype
Jump to navigation
Jump to search
API Endpoint: api/session/event/editorupgradetype/
API Endpoints for Upgrade Type editing.
| Name | Description |
|---|---|
| add | Add a new Upgrade Type |
| duplicate | Duplicate existing Upgrade Type |
| remove | Remove existing Upgrade Type |
| set_name | Set the name of an Upgrade Type |
Additional API Endpoints:
| Name | Description |
|---|---|
| add_pair | Add an Upgrade Pair to an Upgrade Type |
| duplicate_pair | Duplicate an Upgrade Pair of an Upgrade Type, given a Source Function |
| remove_pair | Remove an Upgrade Pair of an Upgrade Type, given a Source Function |
| set_cost_m2 | Set the price of an Upgrade Type, per square meter of upgraded floorsize or lotsize |
| set_description | Set the description of an Upgrade Type |
| set_image | Set the image of an Upgrade Type |
| set_must_own | Set whether this Upgrade Type can only be applied on Buildings owned by the performing Stakeholder |
| set_pair | Set a Source or Target Function for an Upgrade pair of an Upgrade Type, given a Source Function |
| set_zone_permit_required | Set whether the Upgrade Type requires a Zoning permit |