Overview
Summary
Contact
Donate
Imprint
Prompt for the
AccidentView
Please create a React-JS view called "AccidentView" for the fields of the Accident entity. The AccidentView must contain the following fields: - name: AccidentType type: STRING - name: DamageLevel type: STRING - name: DateTime type: DATE - name: Description type: STRING - name: Fatalities type: INT - name: Injuries type: INT - name: Location type: Location - name: Mission type: Mission - name: Zeppelin type: Zeppelin The data source for the [Zeppelin] select control should be loaded from the relative URL: "/ZeppelinService/zeppelin" (HTTP-GET) The data source for the [Mission] select control should be loaded from the relative URL: "/MissionService/mission" (HTTP-GET) The data source for the [Location] select control should be loaded from the relative URL: "/LocationService/location" (HTTP-GET) An existing Accident entity should be loaded from the relative URL: "/LocationService/accident/{id}" (HTTP-GET) If a new Accident entity has been created, the new entity should be posted to the relative URL: "/LocationService/accident" (HTTP-POST) If an existing Accident entity has been updated, the modified entity should be sent to the relative URL: "/LocationService/accident/{id}" (HTTP-PUT) If an existing Accident entity has to be deleted, the following relative URL should be called: "/LocationService/accident/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Memorial columns: - column: UnveiledOn - column: RelatedAccident - column: Location - column: Name - column: Description The table should have the title "Memorials" und the data must be loaded from the server with the following relative URL: "/EngineService/memorial/relatedaccident/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint