Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UmspannwerkTypApp
Please create a React-JS application for the UmspannwerkTypModule. The application has to offer the following views for the user interface: 1. UmspannwerkTypView 2. UmspannwerkWeblinkView 3. WeblinkView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The UmspannwerkTypView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing UmspannwerkTyp entity should be loaded from the relative URL: "/UmspannwerkTypService/umspannwerktyp/{id}" (HTTP-GET) If a new UmspannwerkTyp entity has been created, the new entity should be posted to the relative URL: "/UmspannwerkTypService/umspannwerktyp" (HTTP-POST) If an existing UmspannwerkTyp entity has been updated, the modified entity should be sent to the relative URL: "/UmspannwerkTypService/umspannwerktyp/{id}" (HTTP-PUT) If an existing UmspannwerkTyp entity has to be deleted, the following relative URL should be called: "/UmspannwerkTypService/umspannwerktyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Umspannwerk columns: - column: Automatisierungsgrad - column: Standort - column: InbetriebnahmeJahr - column: Kennung - column: Name - column: Beschreibung - column: HoechsteSpannungKv - column: UmspannwerkTyp The table should have the title "Umspannwerks" und the data must be loaded from the server with the following relative URL: "/UmspannwerkService/umspannwerk/umspannwerktyp/{id}" 2. The UmspannwerkWeblinkView must contain the following fields: - name: Bezug type: STRING - name: Umspannwerk type: Umspannwerk - name: Weblink type: Weblink The data source for the [Weblink] select control should be loaded from the relative URL: "/UmspannwerkTypService/weblink" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing UmspannwerkWeblink entity should be loaded from the relative URL: "/UmspannwerkTypService/umspannwerkweblink/{id}" (HTTP-GET) If a new UmspannwerkWeblink entity has been created, the new entity should be posted to the relative URL: "/UmspannwerkTypService/umspannwerkweblink" (HTTP-POST) If an existing UmspannwerkWeblink entity has been updated, the modified entity should be sent to the relative URL: "/UmspannwerkTypService/umspannwerkweblink/{id}" (HTTP-PUT) If an existing UmspannwerkWeblink entity has to be deleted, the following relative URL should be called: "/UmspannwerkTypService/umspannwerkweblink/{id}" (HTTP-DELETE) 3. The WeblinkView must contain the following fields: - name: Beschreibung type: STRING - name: Titel type: STRING - name: Url type: STRING An existing Weblink entity should be loaded from the relative URL: "/UmspannwerkTypService/weblink/{id}" (HTTP-GET) If a new Weblink entity has been created, the new entity should be posted to the relative URL: "/UmspannwerkTypService/weblink" (HTTP-POST) If an existing Weblink entity has been updated, the modified entity should be sent to the relative URL: "/UmspannwerkTypService/weblink/{id}" (HTTP-PUT) If an existing Weblink entity has to be deleted, the following relative URL should be called: "/UmspannwerkTypService/weblink/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UmspannwerkWeblink columns: - column: Bezug - column: Weblink - column: Umspannwerk The table should have the title "UmspannwerkWeblinks" und the data must be loaded from the server with the following relative URL: "/UmspannwerkTypService/umspannwerkweblink/weblink/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum