Api session event editor actionmenu add action: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Event to Add Action | API Event to Add [[Action]] | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
| Line 10: | Line 10: | ||
|REQUIRED | |REQUIRED | ||
|(ACTION_MENU Integer ID) | |(ACTION_MENU Integer ID) | ||
|[[Action Menu]] | |[[Action Menu]] | ||
| | | | ||
|- | |- | ||
| Line 37: | Line 37: | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Example POST: https://engine.tygron.com/api/session/event/editoractionmenu/add_action/?f= | Example POST: https://engine.tygron.com/api/session/event/editoractionmenu/add_action/?f=JSON&token=API_TOKEN | ||
with content: | with content: | ||
<pre>[ | <pre>[ 91, "CHAT_MESSAGES", 51 ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[ | {{article end|seealso=*[[Api session event editor actionmenu]] | ||
*[[Api session items actionmenus]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 12:03, 1 April 2026
API Event to Add Action
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (ACTION_MENU Integer ID) | Action Menu | |
| 1 | REQUIRED | (Enumeration) | MapLink | ACTION_LOGS, ACTION_MENUS, ADDRESSES, AREAS, ATTRIBUTE_ACTIONS, BUILDINGS, CHAT_MESSAGES, CINEMATIC_DATAS, CLIENT_WORDS, COSTS, CUSTOM_GEOMETRIES, DEFAULT_WORDS, ERROR_LOGS, EVENT_BUNDLES, EXCEL_SHEETS, FUNCTION_OVERRIDES, FUNCTIONS, GEO_LINKS, GEO_OPTIONS, GEO_PLUGINS, GEO_TIFFS, GLOBALS, HEIGHTS, INCOMES, INDICATORS, LEVEES, MEASUREMENTS, MEASURES, MODEL_DATAS, MODEL_SETS, MONEY_TRANSFERS, NEIGHBORHOODS, NET_CLUSTERS, NET_FUNCTIONS, NET_LINES, NET_LOADS, NET_NODES, NET_SETTINGS, NEURAL_NETWORKS, OVERLAYS, PANELS, PARAMETRIC_DESIGNS, PARAMETRIC_EXAMPLES, PARTICLE_EMITTERS, PLOTS, POPUPS, PROGRESS, PROJECT_ASSETS, RECORDINGS, SCENARIOS, SERVER_WORDS, SETTINGS, SOUNDS, SOURCES, SPECIAL_EFFECTS, SPECIAL_OPTIONS, STAKEHOLDERS, TERRAIN_TYPE_OVERRIDES, TERRAIN_TYPES, TERRAINS, TEXTURES, TIMES, TRIGGERS, UNIT_DATA_OVERRIDES, UNIT_DATAS, UPGRADE_TYPES, WATER_VALUES, WEATHERS, ZIP_CODES or ZONES |
| 2 | REQUIRED | (Integer number) | Integer |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editoractionmenu/add_action/?f=JSON&token=API_TOKEN
with content:
[ 91, "CHAT_MESSAGES", 51 ]