Overview
Summary
Contact
Donate
Imprint
Prompt for the
LaunchSiteView
Please create a React-JS view called "LaunchSiteView" for the fields of the LaunchSite entity. The LaunchSiteView must contain the following fields: - name: Code type: STRING - name: Description type: STRING - name: Facility type: Facility The data source for the [Facility] select control should be loaded from the relative URL: "/FacilityService/facility" (HTTP-GET) An existing LaunchSite entity should be loaded from the relative URL: "/FacilityService/launchsite/{id}" (HTTP-GET) If a new LaunchSite entity has been created, the new entity should be posted to the relative URL: "/FacilityService/launchsite" (HTTP-POST) If an existing LaunchSite entity has been updated, the modified entity should be sent to the relative URL: "/FacilityService/launchsite/{id}" (HTTP-PUT) If an existing LaunchSite entity has to be deleted, the following relative URL should be called: "/FacilityService/launchsite/{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/launchsite/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint