Overview
Summary
Contact
Donate
Imprint
Prompt for the
ExperimentView
Please create a React-JS view called "ExperimentView" for the fields of the Experiment entity. The ExperimentView must contain the following fields: - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: Project type: Project - name: StartDate type: DATE The data source for the [Project] select control should be loaded from the relative URL: "/ProjectService/project" (HTTP-GET) An existing Experiment entity should be loaded from the relative URL: "/LaunchSiteService/experiment/{id}" (HTTP-GET) If a new Experiment entity has been created, the new entity should be posted to the relative URL: "/LaunchSiteService/experiment" (HTTP-POST) If an existing Experiment entity has been updated, the modified entity should be sent to the relative URL: "/LaunchSiteService/experiment/{id}" (HTTP-PUT) If an existing Experiment entity has to be deleted, the following relative URL should be called: "/LaunchSiteService/experiment/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ExperimentResult columns: - column: Notes - column: Experiment - column: MetricValue - column: Unit - column: MetricName The table should have the title "ExperimentResults" und the data must be loaded from the server with the following relative URL: "/LaunchSiteService/experimentresult/experiment/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint