Api session event editor actionmenu set active for stakeholder and scenario
Jump to navigation
Jump to search
API Endpoint: editoractionmenu/set_active_for_stakeholder_and_scenario.
Description: Set Active For Stakeholder And Scenario
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (ACTION_MENU Integer ID) | Action Menu | |
| 1 | REQUIRED | (STAKEHOLDER Integer ID) | Stakeholder | |
| 2 | REQUIRED | (SCENARIO Integer ID) | Scenario | |
| 3 | REQUIRED | (true, false) | Boolean | true or false |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Curl example POST:
curl 'https://engine.tygron.com/api/session/event/editoractionmenu/set_active_for_stakeholder_and_scenario/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '[ 1, 1, 1, true ]'JavaScript example POST:
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
body: '[ 1, 1, 1, true ]'
};
fetch("https://engine.tygron.com/api/session/event/editoractionmenu/set_active_for_stakeholder_and_scenario/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));