Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
DiagnoseTestApp
Please create a React-JS application for the DiagnoseTestModule. The application has to offer the following views for the user interface: 1. BehandlungDiagnoseTestView 2. DiagnoseTestView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The BehandlungDiagnoseTestView must contain the following fields: - name: Behandlung type: Behandlung - name: DiagnoseTest type: DiagnoseTest The data source for the [DiagnoseTest] select control should be loaded from the relative URL: "/DiagnoseTestService/diagnosetest" (HTTP-GET) The data source for the [Behandlung] select control should be loaded from the relative URL: "/BehandlungService/behandlung" (HTTP-GET) An existing BehandlungDiagnoseTest entity should be loaded from the relative URL: "/DiagnoseTestService/behandlungdiagnosetest/{id}" (HTTP-GET) If a new BehandlungDiagnoseTest entity has been created, the new entity should be posted to the relative URL: "/DiagnoseTestService/behandlungdiagnosetest" (HTTP-POST) If an existing BehandlungDiagnoseTest entity has been updated, the modified entity should be sent to the relative URL: "/DiagnoseTestService/behandlungdiagnosetest/{id}" (HTTP-PUT) If an existing BehandlungDiagnoseTest entity has to be deleted, the following relative URL should be called: "/DiagnoseTestService/behandlungdiagnosetest/{id}" (HTTP-DELETE) 2. The DiagnoseTestView must contain the following fields: - name: Beschreibung type: STRING - name: IstSensitivitaetsTest type: BOOL - name: Name type: STRING An existing DiagnoseTest entity should be loaded from the relative URL: "/DiagnoseTestService/diagnosetest/{id}" (HTTP-GET) If a new DiagnoseTest entity has been created, the new entity should be posted to the relative URL: "/DiagnoseTestService/diagnosetest" (HTTP-POST) If an existing DiagnoseTest entity has been updated, the modified entity should be sent to the relative URL: "/DiagnoseTestService/diagnosetest/{id}" (HTTP-PUT) If an existing DiagnoseTest entity has to be deleted, the following relative URL should be called: "/DiagnoseTestService/diagnosetest/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehandlungDiagnoseTest columns: - column: Behandlung - column: DiagnoseTest The table should have the title "BehandlungDiagnoseTests" und the data must be loaded from the server with the following relative URL: "/DiagnoseTestService/behandlungdiagnosetest/diagnosetest/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum