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: City type: City - name: ElevationMeters type: STRING - name: Latitude type: STRING - name: Longitude type: STRING - name: Name type: STRING The data source for the [City] select control should be loaded from the relative URL: "/RegionService/city" (HTTP-GET) An existing LaunchSite entity should be loaded from the relative URL: "/LaunchSiteService/launchsite/{id}" (HTTP-GET) If a new LaunchSite entity has been created, the new entity should be posted to the relative URL: "/LaunchSiteService/launchsite" (HTTP-POST) If an existing LaunchSite entity has been updated, the modified entity should be sent to the relative URL: "/LaunchSiteService/launchsite/{id}" (HTTP-PUT) If an existing LaunchSite entity has to be deleted, the following relative URL should be called: "/LaunchSiteService/launchsite/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BalloonFlight columns: - column: BalloonModel - column: AverageSpeedKmh - column: Project - column: MinAltitudeKm - column: LaunchDateTime - column: MaxAltitudeKm - column: Status - column: TerminationDateTime - column: LaunchSite The table should have the title "BalloonFlights" und the data must be loaded from the server with the following relative URL: "/ProjectService/balloonflight/launchsite/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint