Api session event participant: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: api/session/event/participant/ | API Endpoint: api/session/event/participant/ | ||
API endpoints for endpoints for user [[Action]]s (e.g. | API endpoints for endpoints for user [[Action]]s (e.g., [[Building]] construction) in a test run/impact [[Session]]. | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
| Line 19: | Line 19: | ||
|- | |- | ||
| [[Api session event participant building plan demolish polygon|building_plan_demolish_polygon]] | | [[Api session event participant building plan demolish polygon|building_plan_demolish_polygon]] | ||
| Plan the demolition of | | Plan the demolition of [[Building]]s in the given [[Polygon]] in the MAQUETTE map. | ||
|- | |- | ||
| [[Api session event participant building plan upgrade|building_plan_upgrade]] | | [[Api session event participant building plan upgrade|building_plan_upgrade]] | ||
| Line 25: | Line 25: | ||
|- | |- | ||
| [[Api session event participant building revert polygon|building_revert_polygon]] | | [[Api session event participant building revert polygon|building_revert_polygon]] | ||
| Revert [[Polygon]] to | | Revert the [[Polygon]] to the original state of the current map. | ||
|- | |- | ||
| [[Api session event participant event bundle apply server events|event_bundle_apply_server_events]] | | [[Api session event participant event bundle apply server events|event_bundle_apply_server_events]] | ||
| Apply a bundle of events on the | | Apply a bundle of events on the server side for a particular [[Stakeholder]]. | ||
|- | |- | ||
| [[Api session event participant map buy land|map_buy_land]] | | [[Api session event participant map buy land|map_buy_land]] | ||
| Buy the land | | Buy the land defined by the [[Polygon]] for a given price. | ||
|- | |- | ||
| [[Api session event participant map levee|map_levee]] | | [[Api session event participant map levee|map_levee]] | ||
| Line 43: | Line 43: | ||
|- | |- | ||
| [[Api session event participant map sell land|map_sell_land]] | | [[Api session event participant map sell land|map_sell_land]] | ||
| | | Sell the land defined by the [[Polygon]] for a given price. | ||
|- | |- | ||
| [[Api session event participant measure cancel construction|measure_cancel_construction]] | | [[Api session event participant measure cancel construction|measure_cancel_construction]] | ||
| Cancel a [[Measure]] planned by | | Cancel a [[Measure]] planned by a [[Stakeholder]] while in pre-construction phase. | ||
|- | |- | ||
| [[Api session event participant measure plan construction|measure_plan_construction]] | | [[Api session event participant measure plan construction|measure_plan_construction]] | ||
| Plan construction of a [[Measure]] by | | Plan construction of a [[Measure]] by a [[Stakeholder]] that is not yet planned. | ||
|- | |- | ||
| [[Api session event participant money transfer give|money_transfer_give]] | | [[Api session event participant money transfer give|money_transfer_give]] | ||
| Line 58: | Line 58: | ||
|- | |- | ||
| [[Api session event participant net cluster set load attributes|net_cluster_set_load_attributes]] | | [[Api session event participant net cluster set load attributes|net_cluster_set_load_attributes]] | ||
| For each [[Net Load]] of a [[Net Cluster]], set the value of the [[Attribute]]. | | For each [[Net Load]] of a [[Net Cluster]], set the value of the [[Attribute]]s. | ||
|- | |- | ||
| [[Api session event participant net cluster set state|net_cluster_set_state]] | | [[Api session event participant net cluster set state|net_cluster_set_state]] | ||
| Set [[Timestate]] for all [[Net Load]]s of [[Net Cluster]]. | | Set the [[Timestate]] for all [[Net Load]]s of a [[Net Cluster]]. | ||
|- | |- | ||
| [[Api session event participant net cluster set state for net type|net_cluster_set_state_for_net_type]] | | [[Api session event participant net cluster set state for net type|net_cluster_set_state_for_net_type]] | ||
| Set [[Timestate]] for [[Net Load]]s of [[Net Cluster]], based on [[Net Type]]. | | Set the [[Timestate]] for [[Net Load]]s of a [[Net Cluster]], based on [[Net Type]]. | ||
|- | |- | ||
| [[Api session event participant net cluster set states|net_cluster_set_states]] | | [[Api session event participant net cluster set states|net_cluster_set_states]] | ||
| Set [[Timestate]] for all [[Net Load]]s of [[Net Cluster]]. | | Set the [[Timestate]] for all [[Net Load]]s of a [[Net Cluster]]. | ||
|- | |- | ||
| [[Api session event participant panel answer|panel_answer]] | | [[Api session event participant panel answer|panel_answer]] | ||
| Line 82: | Line 82: | ||
|- | |- | ||
| [[Api session event participant restore land|restore_land]] | | [[Api session event participant restore land|restore_land]] | ||
| [[Stakeholder]] restores land | | [[Stakeholder]] restores land to its original state. | ||
|- | |- | ||
| [[Api session event participant stakeholder set location|stakeholder_set_location]] | | [[Api session event participant stakeholder set location|stakeholder_set_location]] | ||
| Line 91: | Line 91: | ||
|- | |- | ||
| [[Api session event participant zone remove function category|zone_remove_function_category]] | | [[Api session event participant zone remove function category|zone_remove_function_category]] | ||
| Remove a [[Function]][[Category]] so it cannot be | | Remove a [[Function]][[Category]] so it cannot be built within the [[Zone]]. | ||
|- | |- | ||
| [[Api session event participant zones set categories|zones_set_categories]] | | [[Api session event participant zones set categories|zones_set_categories]] | ||
Latest revision as of 10:01, 13 July 2026
API Endpoint: api/session/event/participant/
API endpoints for endpoints for user Actions (e.g., Building construction) in a test run/impact Session.
| Name | Description |
|---|---|
| action_menu_set_active | Set a Category active for a Stakeholder. |
| attribute_action_plan | Apply an Attribute Action. |
| building_plan_construction | Plan a new Building in the MAQUETTE map. |
| building_plan_demolish | Plan the demolition of a Building in the MAQUETTE map. |
| building_plan_demolish_polygon | Plan the demolition of Buildings in the given Polygon in the MAQUETTE map. |
| building_plan_upgrade | Plan the upgrade of Buildings in the given Polygon in the MAQUETTE map. |
| building_revert_polygon | Revert the Polygon to the original state of the current map. |
| event_bundle_apply_server_events | Apply a bundle of events on the server side for a particular Stakeholder. |
| map_buy_land | Buy the land defined by the Polygon for a given price. |
| map_levee | Create a Levee with a given height and Area. |
| map_lower_land | Lower land to create open water. |
| map_raise_land | Raise land by one length unit. |
| map_sell_land | Sell the land defined by the Polygon for a given price. |
| measure_cancel_construction | Cancel a Measure planned by a Stakeholder while in pre-construction phase. |
| measure_plan_construction | Plan construction of a Measure by a Stakeholder that is not yet planned. |
| money_transfer_give | Give money from one Stakeholder to another. |
| net_cluster_set_load_attribute | For each Net Load of a Net Cluster, set the value of the Attribute. |
| net_cluster_set_load_attributes | For each Net Load of a Net Cluster, set the value of the Attributes. |
| net_cluster_set_state | Set the Timestate for all Net Loads of a Net Cluster. |
| net_cluster_set_state_for_net_type | Set the Timestate for Net Loads of a Net Cluster, based on Net Type. |
| net_cluster_set_states | Set the Timestate for all Net Loads of a Net Cluster. |
| panel_answer | Stakeholder has selected an Answer (Panel) in a Panel. |
| parametric_design_plan | Parametric Design Plan |
| popup_answer | Stakeholder Answer (Panel)s a Popup. |
| popup_answer_with_date | Stakeholder Answer (Panel)s a Popup with an additional date. |
| restore_land | Stakeholder restores land to its original state. |
| stakeholder_set_location | Set the location of a Stakeholder in the 3D world. |
| zone_add_function_category | Add a FunctionCategory that is allowed to be built within a Zone. |
| zone_remove_function_category | Remove a FunctionCategory so it cannot be built within the Zone. |
| zones_set_categories | Sets the allowed Building categories for specified Zones. |