Overview
Summary
Contact
Donate
Imprint
Prompt for the
LandingSiteView
Please create a React-JS view called "LandingSiteView" for the fields of the LandingSite entity. The LandingSiteView must contain the following fields: - name: Description type: STRING - name: Facility type: Facility - name: LandingType type: STRING - name: Name type: STRING The data source for the [Facility] select control should be loaded from the relative URL: "/FacilityService/facility" (HTTP-GET) An existing LandingSite entity should be loaded from the relative URL: "/MissionService/landingsite/{id}" (HTTP-GET) If a new LandingSite entity has been created, the new entity should be posted to the relative URL: "/MissionService/landingsite" (HTTP-POST) If an existing LandingSite entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/landingsite/{id}" (HTTP-PUT) If an existing LandingSite entity has to be deleted, the following relative URL should be called: "/MissionService/landingsite/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mission columns: - column: Notes - column: Spacecraft - column: Contract - column: Customer - column: Company - column: Name - column: LaunchVehicle - column: LandingSite - column: Program - column: MissionType - column: Orbit - column: LaunchDateTime - column: Description - column: LaunchSite - column: Success The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/landingsite/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint