Overview
Summary
Contact
Donate
Imprint
Prompt for the
ScenarioTypeView
Please create a React-JS view called "ScenarioTypeView" for the fields of the ScenarioType entity. The ScenarioTypeView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing ScenarioType entity should be loaded from the relative URL: "/ScenarioService/scenariotype/{id}" (HTTP-GET) If a new ScenarioType entity has been created, the new entity should be posted to the relative URL: "/ScenarioService/scenariotype" (HTTP-POST) If an existing ScenarioType entity has been updated, the modified entity should be sent to the relative URL: "/ScenarioService/scenariotype/{id}" (HTTP-PUT) If an existing ScenarioType entity has to be deleted, the following relative URL should be called: "/ScenarioService/scenariotype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Scenario columns: - column: ProbabilityEstimate - column: SeverityLevel - column: Description - column: ScenarioType - column: Name The table should have the title "Scenarios" und the data must be loaded from the server with the following relative URL: "/ScenarioService/scenario/scenariotype/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint