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