Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LeitstelleApp
Please create a React-JS application for the LeitstelleModule. The application has to offer the following views for the user interface: 1. EinsatzView 2. LeitstelleView 3. LeitstelleDienstView 4. LeitstelleGebietView 5. LeitstellenartView 6. MitarbeiterView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The EinsatzView must contain the following fields: - name: AusnahmezustandAusgerufen type: BOOL - name: Bemerkung type: STRING - name: Einsatzart type: STRING - name: Einsatzbeginn type: DATE - name: Einsatzende type: DATE - name: Einsatzort type: STRING - name: Leitstelle type: Leitstelle - name: Notruf type: Notruf The data source for the [Notruf] select control should be loaded from the relative URL: "/SchichtService/notruf" (HTTP-GET) The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) An existing Einsatz entity should be loaded from the relative URL: "/LeitstelleService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/LeitstelleService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/LeitstelleService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/LeitstelleService/einsatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EinsatzEinsatzmittel columns: - column: Einsatzmittel - column: Einsatz - column: RolleImEinsatz The table should have the title "EinsatzEinsatzmittels" und the data must be loaded from the server with the following relative URL: "/DienstService/einsatzeinsatzmittel/einsatz/{id}" Add a HTML table to the view with the following Einsatzzeit columns: - column: Einsatz - column: Zeitpunkt - column: Zeittyp The table should have the title "Einsatzzeits" und the data must be loaded from the server with the following relative URL: "/RolleService/einsatzzeit/einsatz/{id}" 2. The LeitstelleView must contain the following fields: - name: AktivSeit type: DATE - name: Bemerkung type: STRING - name: Betreiber type: Betreiber - name: Bezeichnung type: STRING - name: Gebiet type: Gebiet - name: Leitstellenart type: Leitstellenart - name: Name type: STRING - name: Notrufnummer110Zustaendig type: BOOL - name: Notrufnummer112Zustaendig type: BOOL The data source for the [Gebiet] select control should be loaded from the relative URL: "/LandService/gebiet" (HTTP-GET) The data source for the [Leitstellenart] select control should be loaded from the relative URL: "/LeitstelleService/leitstellenart" (HTTP-GET) The data source for the [Betreiber] select control should be loaded from the relative URL: "/LandService/betreiber" (HTTP-GET) An existing Leitstelle entity should be loaded from the relative URL: "/LeitstelleService/leitstelle/{id}" (HTTP-GET) If a new Leitstelle entity has been created, the new entity should be posted to the relative URL: "/LeitstelleService/leitstelle" (HTTP-POST) If an existing Leitstelle entity has been updated, the modified entity should be sent to the relative URL: "/LeitstelleService/leitstelle/{id}" (HTTP-PUT) If an existing Leitstelle entity has to be deleted, the following relative URL should be called: "/LeitstelleService/leitstelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LeitstelleDienst columns: - column: Dienst - column: BesondereAufgaben - column: Leitstelle The table should have the title "LeitstelleDiensts" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/leitstelledienst/leitstelle/{id}" Add a HTML table to the view with the following Schicht columns: - column: Beginn - column: Leitstelle - column: Schichtfuehrer - column: Ende The table should have the title "Schichts" und the data must be loaded from the server with the following relative URL: "/SchichtService/schicht/leitstelle/{id}" Add a HTML table to the view with the following LeitstelleSystem columns: - column: Leitstelle - column: Redundant - column: System The table should have the title "LeitstelleSystems" und the data must be loaded from the server with the following relative URL: "/SystemService/leitstellesystem/leitstelle/{id}" Add a HTML table to the view with the following Einsatz columns: - column: Einsatzende - column: Leitstelle - column: Einsatzbeginn - column: Einsatzart - column: Bemerkung - column: AusnahmezustandAusgerufen - column: Notruf - column: Einsatzort The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/einsatz/leitstelle/{id}" Add a HTML table to the view with the following Mitarbeiter columns: - column: Leitstelle - column: Nachname - column: Vorname - column: Aktiv - column: Dienstnummer The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/mitarbeiter/leitstelle/{id}" Add a HTML table to the view with the following LeitstelleGebiet columns: - column: Gebiet - column: Leitstelle - column: PrimaerZustaendig The table should have the title "LeitstelleGebiets" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/leitstellegebiet/leitstelle/{id}" Add a HTML table to the view with the following Notruf columns: - column: AnruferTelefon - column: Beschreibung - column: Eingangszeit - column: Leitstelle - column: Prioritaet - column: Rufnummer - column: AnruferName - column: OrtBeschreibung The table should have the title "Notrufs" und the data must be loaded from the server with the following relative URL: "/SchichtService/notruf/leitstelle/{id}" Add a HTML table to the view with the following LeitstelleKommunikationsmittel columns: - column: Primaer - column: Leitstelle - column: Kommunikationsmittel The table should have the title "LeitstelleKommunikationsmittels" und the data must be loaded from the server with the following relative URL: "/KommunikationsmittelService/leitstellekommunikationsmittel/leitstelle/{id}" 3. The LeitstelleDienstView must contain the following fields: - name: BesondereAufgaben type: STRING - name: Dienst type: Dienst - name: Leitstelle type: Leitstelle The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) The data source for the [Dienst] select control should be loaded from the relative URL: "/DienstService/dienst" (HTTP-GET) An existing LeitstelleDienst entity should be loaded from the relative URL: "/LeitstelleService/leitstelledienst/{id}" (HTTP-GET) If a new LeitstelleDienst entity has been created, the new entity should be posted to the relative URL: "/LeitstelleService/leitstelledienst" (HTTP-POST) If an existing LeitstelleDienst entity has been updated, the modified entity should be sent to the relative URL: "/LeitstelleService/leitstelledienst/{id}" (HTTP-PUT) If an existing LeitstelleDienst entity has to be deleted, the following relative URL should be called: "/LeitstelleService/leitstelledienst/{id}" (HTTP-DELETE) 4. The LeitstelleGebietView must contain the following fields: - name: Gebiet type: Gebiet - name: Leitstelle type: Leitstelle - name: PrimaerZustaendig type: BOOL The data source for the [Gebiet] select control should be loaded from the relative URL: "/LandService/gebiet" (HTTP-GET) The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) An existing LeitstelleGebiet entity should be loaded from the relative URL: "/LeitstelleService/leitstellegebiet/{id}" (HTTP-GET) If a new LeitstelleGebiet entity has been created, the new entity should be posted to the relative URL: "/LeitstelleService/leitstellegebiet" (HTTP-POST) If an existing LeitstelleGebiet entity has been updated, the modified entity should be sent to the relative URL: "/LeitstelleService/leitstellegebiet/{id}" (HTTP-PUT) If an existing LeitstelleGebiet entity has to be deleted, the following relative URL should be called: "/LeitstelleService/leitstellegebiet/{id}" (HTTP-DELETE) 5. The LeitstellenartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Leitstellenart entity should be loaded from the relative URL: "/LeitstelleService/leitstellenart/{id}" (HTTP-GET) If a new Leitstellenart entity has been created, the new entity should be posted to the relative URL: "/LeitstelleService/leitstellenart" (HTTP-POST) If an existing Leitstellenart entity has been updated, the modified entity should be sent to the relative URL: "/LeitstelleService/leitstellenart/{id}" (HTTP-PUT) If an existing Leitstellenart entity has to be deleted, the following relative URL should be called: "/LeitstelleService/leitstellenart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leitstelle columns: - column: Name - column: Notrufnummer110Zustaendig - column: Bemerkung - column: Betreiber - column: Leitstellenart - column: Bezeichnung - column: AktivSeit - column: Notrufnummer112Zustaendig - column: Gebiet The table should have the title "Leitstelles" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/leitstelle/leitstellenart/{id}" 6. The MitarbeiterView must contain the following fields: - name: Aktiv type: BOOL - name: Dienstnummer type: STRING - name: Leitstelle type: Leitstelle - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) An existing Mitarbeiter entity should be loaded from the relative URL: "/LeitstelleService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/LeitstelleService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/LeitstelleService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/LeitstelleService/mitarbeiter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schicht columns: - column: Beginn - column: Leitstelle - column: Schichtfuehrer - column: Ende The table should have the title "Schichts" und the data must be loaded from the server with the following relative URL: "/SchichtService/schicht/schichtfuehrer/{id}" Add a HTML table to the view with the following MitarbeiterRolle columns: - column: GueltigVon - column: GueltigBis - column: Mitarbeiter - column: Rolle The table should have the title "MitarbeiterRolles" und the data must be loaded from the server with the following relative URL: "/RolleService/mitarbeiterrolle/mitarbeiter/{id}" Add a HTML table to the view with the following SchichtMitarbeiter columns: - column: Schicht - column: Mitarbeiter - column: FunktionInSchicht The table should have the title "SchichtMitarbeiters" und the data must be loaded from the server with the following relative URL: "/SchichtService/schichtmitarbeiter/mitarbeiter/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum