Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
OrganisationApp
Please create a React-JS application for the OrganisationModule. The application has to offer the following views for the user interface: 1. KooperationView 2. MitarbeiterView 3. OrganisationView 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 KooperationView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Kooperation entity should be loaded from the relative URL: "/OrganisationService/kooperation/{id}" (HTTP-GET) If a new Kooperation entity has been created, the new entity should be posted to the relative URL: "/OrganisationService/kooperation" (HTTP-POST) If an existing Kooperation entity has been updated, the modified entity should be sent to the relative URL: "/OrganisationService/kooperation/{id}" (HTTP-PUT) If an existing Kooperation entity has to be deleted, the following relative URL should be called: "/OrganisationService/kooperation/{id}" (HTTP-DELETE) 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/kooperation/{id}" 2. The MitarbeiterView must contain the following fields: - name: Behoerde type: Behoerde - name: Dienstgrad type: STRING - name: Nachname type: STRING - name: Organisation type: Organisation - name: Rolle type: STRING - name: Vorname 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 [Behoerde] select control should be loaded from the relative URL: "/BehoerdeService/behoerde" (HTTP-GET) An existing Mitarbeiter entity should be loaded from the relative URL: "/OrganisationService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/OrganisationService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/OrganisationService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/OrganisationService/mitarbeiter/{id}" (HTTP-DELETE) 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/mitarbeiter/{id}" 3. The OrganisationView must contain the following fields: - name: Land type: STRING - name: Name type: STRING - name: Sitz type: STRING - name: Typ type: STRING An existing Organisation entity should be loaded from the relative URL: "/OrganisationService/organisation/{id}" (HTTP-GET) If a new Organisation entity has been created, the new entity should be posted to the relative URL: "/OrganisationService/organisation" (HTTP-POST) If an existing Organisation entity has been updated, the modified entity should be sent to the relative URL: "/OrganisationService/organisation/{id}" (HTTP-PUT) If an existing Organisation entity has to be deleted, the following relative URL should be called: "/OrganisationService/organisation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mitarbeiter columns: - column: Behoerde - column: Rolle - column: Nachname - column: Vorname - column: Dienstgrad - column: Organisation The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/OrganisationService/mitarbeiter/organisation/{id}" 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/organisation/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum