Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BetreiberApp
Please create a React-JS application for the BetreiberModule. The application has to offer the following views for the user interface: 1. BetreiberView 2. UmspannwerkBetreiberView 3. VerkehrsanbindungView 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 BetreiberView must contain the following fields: - name: Beschreibung type: STRING - name: Kurzname type: STRING - name: Name type: STRING An existing Betreiber entity should be loaded from the relative URL: "/BetreiberService/betreiber/{id}" (HTTP-GET) If a new Betreiber entity has been created, the new entity should be posted to the relative URL: "/BetreiberService/betreiber" (HTTP-POST) If an existing Betreiber entity has been updated, the modified entity should be sent to the relative URL: "/BetreiberService/betreiber/{id}" (HTTP-PUT) If an existing Betreiber entity has to be deleted, the following relative URL should be called: "/BetreiberService/betreiber/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UmspannwerkBetreiber columns: - column: GueltigVon - column: GueltigBis - column: Umspannwerk - column: Betreiber - column: Rolle The table should have the title "UmspannwerkBetreibers" und the data must be loaded from the server with the following relative URL: "/BetreiberService/umspannwerkbetreiber/betreiber/{id}" 2. The UmspannwerkBetreiberView must contain the following fields: - name: Betreiber type: Betreiber - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Rolle type: STRING - name: Umspannwerk type: Umspannwerk The data source for the [Betreiber] select control should be loaded from the relative URL: "/BetreiberService/betreiber" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing UmspannwerkBetreiber entity should be loaded from the relative URL: "/BetreiberService/umspannwerkbetreiber/{id}" (HTTP-GET) If a new UmspannwerkBetreiber entity has been created, the new entity should be posted to the relative URL: "/BetreiberService/umspannwerkbetreiber" (HTTP-POST) If an existing UmspannwerkBetreiber entity has been updated, the modified entity should be sent to the relative URL: "/BetreiberService/umspannwerkbetreiber/{id}" (HTTP-PUT) If an existing UmspannwerkBetreiber entity has to be deleted, the following relative URL should be called: "/BetreiberService/umspannwerkbetreiber/{id}" (HTTP-DELETE) 3. The VerkehrsanbindungView must contain the following fields: - name: Bemerkung type: STRING - name: GleisanschlussBeschreibung type: STRING - name: GleisanschlussVorhanden type: BOOL - name: MaxTransportgewichtTonnen type: STRING - name: SchwertransportMoeglich type: BOOL - name: Umspannwerk type: Umspannwerk - name: ZufahrtsbreiteMeter type: STRING The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing Verkehrsanbindung entity should be loaded from the relative URL: "/BetreiberService/verkehrsanbindung/{id}" (HTTP-GET) If a new Verkehrsanbindung entity has been created, the new entity should be posted to the relative URL: "/BetreiberService/verkehrsanbindung" (HTTP-POST) If an existing Verkehrsanbindung entity has been updated, the modified entity should be sent to the relative URL: "/BetreiberService/verkehrsanbindung/{id}" (HTTP-PUT) If an existing Verkehrsanbindung entity has to be deleted, the following relative URL should be called: "/BetreiberService/verkehrsanbindung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum