Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AkteurApp
Please create a React-JS application for the AkteurModule. The application has to offer the following views for the user interface: 1. AkteurView 2. UnfallBeteiligterView 3. VerkehrsrechtlicheAnordnungView 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 AkteurView must contain the following fields: - name: AkteurTyp type: STRING - name: KontaktDaten type: STRING - name: Name type: STRING An existing Akteur entity should be loaded from the relative URL: "/AkteurService/akteur/{id}" (HTTP-GET) If a new Akteur entity has been created, the new entity should be posted to the relative URL: "/AkteurService/akteur" (HTTP-POST) If an existing Akteur entity has been updated, the modified entity should be sent to the relative URL: "/AkteurService/akteur/{id}" (HTTP-PUT) If an existing Akteur entity has to be deleted, the following relative URL should be called: "/AkteurService/akteur/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Verkehrszeichenplan columns: - column: Beschreibung - column: PlanNummer - column: DatumErstellt - column: Baustelle - column: Ersteller The table should have the title "Verkehrszeichenplans" und the data must be loaded from the server with the following relative URL: "/VerkehrszeichenplanService/verkehrszeichenplan/ersteller/{id}" Add a HTML table to the view with the following SicherheitsMassnahme columns: - column: Gefahr - column: Baustelle - column: Verantwortlicher - column: MassnahmeBeschreibung - column: Rechtsgrundlage The table should have the title "SicherheitsMassnahmes" und the data must be loaded from the server with the following relative URL: "/BaustelleService/sicherheitsmassnahme/verantwortlicher/{id}" Add a HTML table to the view with the following Baustelle columns: - column: Strassenbehoerde - column: EndDatumTatsaechlich - column: Bauvorhaben - column: BaufeldFlaeche - column: StartDatum - column: Bauwerk - column: Bezeichnung - column: Hauptunternehmer - column: Auftraggeber - column: StandortBeschreibung - column: Architekt - column: EndDatumGeplant The table should have the title "Baustelles" und the data must be loaded from the server with the following relative URL: "/BaustelleService/baustelle/architekt/{id}" Add a HTML table to the view with the following Baustelle columns: - column: Strassenbehoerde - column: EndDatumTatsaechlich - column: Bauvorhaben - column: BaufeldFlaeche - column: StartDatum - column: Bauwerk - column: Bezeichnung - column: Hauptunternehmer - column: Auftraggeber - column: StandortBeschreibung - column: Architekt - column: EndDatumGeplant The table should have the title "Baustelles" und the data must be loaded from the server with the following relative URL: "/BaustelleService/baustelle/hauptunternehmer/{id}" Add a HTML table to the view with the following Baustelle columns: - column: Strassenbehoerde - column: EndDatumTatsaechlich - column: Bauvorhaben - column: BaufeldFlaeche - column: StartDatum - column: Bauwerk - column: Bezeichnung - column: Hauptunternehmer - column: Auftraggeber - column: StandortBeschreibung - column: Architekt - column: EndDatumGeplant The table should have the title "Baustelles" und the data must be loaded from the server with the following relative URL: "/BaustelleService/baustelle/auftraggeber/{id}" Add a HTML table to the view with the following Baustelle columns: - column: Strassenbehoerde - column: EndDatumTatsaechlich - column: Bauvorhaben - column: BaufeldFlaeche - column: StartDatum - column: Bauwerk - column: Bezeichnung - column: Hauptunternehmer - column: Auftraggeber - column: StandortBeschreibung - column: Architekt - column: EndDatumGeplant The table should have the title "Baustelles" und the data must be loaded from the server with the following relative URL: "/BaustelleService/baustelle/strassenbehoerde/{id}" Add a HTML table to the view with the following VerkehrsrechtlicheAnordnung columns: - column: AntragsDatum - column: Aktenzeichen - column: Baustelle - column: Rechtsgrundlage - column: GenehmigungsDatum - column: ZustaendigeBehoerde The table should have the title "VerkehrsrechtlicheAnordnungs" und the data must be loaded from the server with the following relative URL: "/AkteurService/verkehrsrechtlicheanordnung/zustaendigebehoerde/{id}" Add a HTML table to the view with the following UnfallBeteiligter columns: - column: Verletzt - column: Akteur - column: Rolle - column: Unfall - column: Getoetet The table should have the title "UnfallBeteiligters" und the data must be loaded from the server with the following relative URL: "/AkteurService/unfallbeteiligter/akteur/{id}" 2. The UnfallBeteiligterView must contain the following fields: - name: Akteur type: Akteur - name: Getoetet type: BOOL - name: Rolle type: STRING - name: Unfall type: Unfall - name: Verletzt type: BOOL The data source for the [Akteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Unfall] select control should be loaded from the relative URL: "/BauabschnittService/unfall" (HTTP-GET) An existing UnfallBeteiligter entity should be loaded from the relative URL: "/AkteurService/unfallbeteiligter/{id}" (HTTP-GET) If a new UnfallBeteiligter entity has been created, the new entity should be posted to the relative URL: "/AkteurService/unfallbeteiligter" (HTTP-POST) If an existing UnfallBeteiligter entity has been updated, the modified entity should be sent to the relative URL: "/AkteurService/unfallbeteiligter/{id}" (HTTP-PUT) If an existing UnfallBeteiligter entity has to be deleted, the following relative URL should be called: "/AkteurService/unfallbeteiligter/{id}" (HTTP-DELETE) 3. The VerkehrsrechtlicheAnordnungView must contain the following fields: - name: Aktenzeichen type: STRING - name: AntragsDatum type: DATE - name: Baustelle type: Baustelle - name: GenehmigungsDatum type: DATE - name: Rechtsgrundlage type: STRING - name: ZustaendigeBehoerde type: Akteur The data source for the [ZustaendigeBehoerde] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) An existing VerkehrsrechtlicheAnordnung entity should be loaded from the relative URL: "/AkteurService/verkehrsrechtlicheanordnung/{id}" (HTTP-GET) If a new VerkehrsrechtlicheAnordnung entity has been created, the new entity should be posted to the relative URL: "/AkteurService/verkehrsrechtlicheanordnung" (HTTP-POST) If an existing VerkehrsrechtlicheAnordnung entity has been updated, the modified entity should be sent to the relative URL: "/AkteurService/verkehrsrechtlicheanordnung/{id}" (HTTP-PUT) If an existing VerkehrsrechtlicheAnordnung entity has to be deleted, the following relative URL should be called: "/AkteurService/verkehrsrechtlicheanordnung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum