Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LagezentrumApp
Please create a React-JS application for the LagezentrumModule. The application has to offer the following views for the user interface: 1. KooperationTeilnehmerView 2. LagezentrumView 3. LagezentrumEinsatzView 4. LagezentrumMitarbeiterView 5. SeegebietView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The KooperationTeilnehmerView must contain the following fields: - name: Kooperation type: Kooperation - name: Lagezentrum type: Lagezentrum The data source for the [Kooperation] select control should be loaded from the relative URL: "/OrganisationService/kooperation" (HTTP-GET) The data source for the [Lagezentrum] select control should be loaded from the relative URL: "/LagezentrumService/lagezentrum" (HTTP-GET) An existing KooperationTeilnehmer entity should be loaded from the relative URL: "/LagezentrumService/kooperationteilnehmer/{id}" (HTTP-GET) If a new KooperationTeilnehmer entity has been created, the new entity should be posted to the relative URL: "/LagezentrumService/kooperationteilnehmer" (HTTP-POST) If an existing KooperationTeilnehmer entity has been updated, the modified entity should be sent to the relative URL: "/LagezentrumService/kooperationteilnehmer/{id}" (HTTP-PUT) If an existing KooperationTeilnehmer entity has to be deleted, the following relative URL should be called: "/LagezentrumService/kooperationteilnehmer/{id}" (HTTP-DELETE) 2. The LagezentrumView must contain the following fields: - name: Behoerde type: Behoerde - name: Beschreibung type: STRING - name: Ebene type: STRING - name: IstDauerhaft type: BOOL - name: IstKooperativ type: BOOL - name: Name type: STRING - name: Organisation type: Organisation - name: Seegebiet type: Seegebiet - name: Standort type: STRING - name: Typ type: STRING The data source for the [Organisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) The data source for the [Seegebiet] select control should be loaded from the relative URL: "/LagezentrumService/seegebiet" (HTTP-GET) The data source for the [Behoerde] select control should be loaded from the relative URL: "/BehoerdeService/behoerde" (HTTP-GET) An existing Lagezentrum entity should be loaded from the relative URL: "/LagezentrumService/lagezentrum/{id}" (HTTP-GET) If a new Lagezentrum entity has been created, the new entity should be posted to the relative URL: "/LagezentrumService/lagezentrum" (HTTP-POST) If an existing Lagezentrum entity has been updated, the modified entity should be sent to the relative URL: "/LagezentrumService/lagezentrum/{id}" (HTTP-PUT) If an existing Lagezentrum entity has to be deleted, the following relative URL should be called: "/LagezentrumService/lagezentrum/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Lagemeldung columns: - column: Zeitstempel - column: Lagezentrum - column: Schweregrad - column: Lage - column: Zusammenfassung - column: QuellenTyp The table should have the title "Lagemeldungs" und the data must be loaded from the server with the following relative URL: "/LagemeldungService/lagemeldung/lagezentrum/{id}" Add a HTML table to the view with the following LagezentrumMitarbeiter columns: - column: Lagezentrum - column: VonDatum - column: BisDatum - column: Funktion - column: Mitarbeiter The table should have the title "LagezentrumMitarbeiters" und the data must be loaded from the server with the following relative URL: "/LagezentrumService/lagezentrummitarbeiter/lagezentrum/{id}" Add a HTML table to the view with the following Analyse columns: - column: Lage - column: ErstelltAm - column: Lagezentrum - column: Zusammenfassung - column: Zielgruppe The table should have the title "Analyses" und the data must be loaded from the server with the following relative URL: "/RegierungService/analyse/lagezentrum/{id}" Add a HTML table to the view with the following KooperationTeilnehmer columns: - column: Kooperation - column: Lagezentrum The table should have the title "KooperationTeilnehmers" und the data must be loaded from the server with the following relative URL: "/LagezentrumService/kooperationteilnehmer/lagezentrum/{id}" Add a HTML table to the view with the following LagezentrumEinsatz columns: - column: Kommentar - column: Lagezentrum - column: Rolle - column: Einsatz The table should have the title "LagezentrumEinsatzs" und the data must be loaded from the server with the following relative URL: "/LagezentrumService/lagezentrumeinsatz/lagezentrum/{id}" 3. The LagezentrumEinsatzView must contain the following fields: - name: Einsatz type: Einsatz - name: Kommentar type: STRING - name: Lagezentrum type: Lagezentrum - name: Rolle type: STRING The data source for the [Einsatz] select control should be loaded from the relative URL: "/LageService/einsatz" (HTTP-GET) The data source for the [Lagezentrum] select control should be loaded from the relative URL: "/LagezentrumService/lagezentrum" (HTTP-GET) An existing LagezentrumEinsatz entity should be loaded from the relative URL: "/LagezentrumService/lagezentrumeinsatz/{id}" (HTTP-GET) If a new LagezentrumEinsatz entity has been created, the new entity should be posted to the relative URL: "/LagezentrumService/lagezentrumeinsatz" (HTTP-POST) If an existing LagezentrumEinsatz entity has been updated, the modified entity should be sent to the relative URL: "/LagezentrumService/lagezentrumeinsatz/{id}" (HTTP-PUT) If an existing LagezentrumEinsatz entity has to be deleted, the following relative URL should be called: "/LagezentrumService/lagezentrumeinsatz/{id}" (HTTP-DELETE) 4. The LagezentrumMitarbeiterView must contain the following fields: - name: BisDatum type: DATE - name: Funktion type: STRING - name: Lagezentrum type: Lagezentrum - name: Mitarbeiter type: Mitarbeiter - name: VonDatum type: DATE The data source for the [Lagezentrum] select control should be loaded from the relative URL: "/LagezentrumService/lagezentrum" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/OrganisationService/mitarbeiter" (HTTP-GET) An existing LagezentrumMitarbeiter entity should be loaded from the relative URL: "/LagezentrumService/lagezentrummitarbeiter/{id}" (HTTP-GET) If a new LagezentrumMitarbeiter entity has been created, the new entity should be posted to the relative URL: "/LagezentrumService/lagezentrummitarbeiter" (HTTP-POST) If an existing LagezentrumMitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/LagezentrumService/lagezentrummitarbeiter/{id}" (HTTP-PUT) If an existing LagezentrumMitarbeiter entity has to be deleted, the following relative URL should be called: "/LagezentrumService/lagezentrummitarbeiter/{id}" (HTTP-DELETE) 5. The SeegebietView must contain the following fields: - name: Beschreibung type: STRING - name: Meer type: STRING - name: Name type: STRING An existing Seegebiet entity should be loaded from the relative URL: "/LagezentrumService/seegebiet/{id}" (HTTP-GET) If a new Seegebiet entity has been created, the new entity should be posted to the relative URL: "/LagezentrumService/seegebiet" (HTTP-POST) If an existing Seegebiet entity has been updated, the modified entity should be sent to the relative URL: "/LagezentrumService/seegebiet/{id}" (HTTP-PUT) If an existing Seegebiet entity has to be deleted, the following relative URL should be called: "/LagezentrumService/seegebiet/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Lagezentrum columns: - column: IstDauerhaft - column: IstKooperativ - column: Ebene - column: Beschreibung - column: Typ - column: Behoerde - column: Seegebiet - column: Name - column: Organisation - column: Standort The table should have the title "Lagezentrums" und the data must be loaded from the server with the following relative URL: "/LagezentrumService/lagezentrum/seegebiet/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum