Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NormApp
Please create a React-JS application for the NormModule. The application has to offer the following views for the user interface: 1. NormView 2. SchaltanlageNormView 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 NormView must contain the following fields: - name: Anwendungsbereich type: STRING - name: Bezeichnung type: STRING - name: Herausgeber type: STRING - name: IstAktiv type: BOOL - name: Jahr type: INT - name: NormNummer type: STRING - name: Titel type: STRING An existing Norm entity should be loaded from the relative URL: "/NormService/norm/{id}" (HTTP-GET) If a new Norm entity has been created, the new entity should be posted to the relative URL: "/NormService/norm" (HTTP-POST) If an existing Norm entity has been updated, the modified entity should be sent to the relative URL: "/NormService/norm/{id}" (HTTP-PUT) If an existing Norm entity has to be deleted, the following relative URL should be called: "/NormService/norm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchaltanlageNorm columns: - column: Norm - column: Schaltanlage The table should have the title "SchaltanlageNorms" und the data must be loaded from the server with the following relative URL: "/NormService/schaltanlagenorm/norm/{id}" 2. The SchaltanlageNormView must contain the following fields: - name: Norm type: Norm - name: Schaltanlage type: Schaltanlage The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) The data source for the [Norm] select control should be loaded from the relative URL: "/NormService/norm" (HTTP-GET) An existing SchaltanlageNorm entity should be loaded from the relative URL: "/NormService/schaltanlagenorm/{id}" (HTTP-GET) If a new SchaltanlageNorm entity has been created, the new entity should be posted to the relative URL: "/NormService/schaltanlagenorm" (HTTP-POST) If an existing SchaltanlageNorm entity has been updated, the modified entity should be sent to the relative URL: "/NormService/schaltanlagenorm/{id}" (HTTP-PUT) If an existing SchaltanlageNorm entity has to be deleted, the following relative URL should be called: "/NormService/schaltanlagenorm/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum