Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TraegerArtApp
Please create a React-JS application for the TraegerArtModule. The application has to offer the following views for the user interface: 1. DienstArtView 2. StadtView 3. TraegerView 4. TraegerArtView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The DienstArtView must contain the following fields: - name: Name type: STRING An existing DienstArt entity should be loaded from the relative URL: "/TraegerArtService/dienstart/{id}" (HTTP-GET) If a new DienstArt entity has been created, the new entity should be posted to the relative URL: "/TraegerArtService/dienstart" (HTTP-POST) If an existing DienstArt entity has been updated, the modified entity should be sent to the relative URL: "/TraegerArtService/dienstart/{id}" (HTTP-PUT) If an existing DienstArt entity has to be deleted, the following relative URL should be called: "/TraegerArtService/dienstart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Dienst columns: - column: Station - column: VonDatumZeit - column: DienstArt - column: BisDatumZeit - column: Mitarbeiter The table should have the title "Diensts" und the data must be loaded from the server with the following relative URL: "/MitarbeiterRolleService/dienst/dienstart/{id}" 2. The StadtView must contain the following fields: - name: Bundesland type: Bundesland - name: Name type: STRING The data source for the [Bundesland] select control should be loaded from the relative URL: "/KrankenhausService/bundesland" (HTTP-GET) An existing Stadt entity should be loaded from the relative URL: "/TraegerArtService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/TraegerArtService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/TraegerArtService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/TraegerArtService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Traeger columns: - column: IstGewinnorientiert - column: SitzLand - column: SitzStadt - column: Name - column: Rechtsform - column: TraegerArt The table should have the title "Traegers" und the data must be loaded from the server with the following relative URL: "/TraegerArtService/traeger/sitzstadt/{id}" Add a HTML table to the view with the following Krankenhaus columns: - column: Name - column: Postleitzahl - column: TraegerArt - column: Land - column: Gruendungsjahr - column: Kurzname - column: BettenGeplant - column: KrankenhausArt - column: IstUniversitaetsklinikum - column: Bundesland - column: Traeger - column: Strasse - column: BettenTatsaechlich - column: Stadt - column: Versorgungsstufe The table should have the title "Krankenhauss" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/krankenhaus/stadt/{id}" 3. The TraegerView must contain the following fields: - name: IstGewinnorientiert type: BOOL - name: Name type: STRING - name: Rechtsform type: STRING - name: SitzLand type: Land - name: SitzStadt type: Stadt - name: TraegerArt type: TraegerArt The data source for the [TraegerArt] select control should be loaded from the relative URL: "/TraegerArtService/traegerart" (HTTP-GET) The data source for the [SitzStadt] select control should be loaded from the relative URL: "/TraegerArtService/stadt" (HTTP-GET) The data source for the [SitzLand] select control should be loaded from the relative URL: "/KrankenhausService/land" (HTTP-GET) An existing Traeger entity should be loaded from the relative URL: "/TraegerArtService/traeger/{id}" (HTTP-GET) If a new Traeger entity has been created, the new entity should be posted to the relative URL: "/TraegerArtService/traeger" (HTTP-POST) If an existing Traeger entity has been updated, the modified entity should be sent to the relative URL: "/TraegerArtService/traeger/{id}" (HTTP-PUT) If an existing Traeger entity has to be deleted, the following relative URL should be called: "/TraegerArtService/traeger/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Krankenhaus columns: - column: Name - column: Postleitzahl - column: TraegerArt - column: Land - column: Gruendungsjahr - column: Kurzname - column: BettenGeplant - column: KrankenhausArt - column: IstUniversitaetsklinikum - column: Bundesland - column: Traeger - column: Strasse - column: BettenTatsaechlich - column: Stadt - column: Versorgungsstufe The table should have the title "Krankenhauss" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/krankenhaus/traeger/{id}" 4. The TraegerArtView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing TraegerArt entity should be loaded from the relative URL: "/TraegerArtService/traegerart/{id}" (HTTP-GET) If a new TraegerArt entity has been created, the new entity should be posted to the relative URL: "/TraegerArtService/traegerart" (HTTP-POST) If an existing TraegerArt entity has been updated, the modified entity should be sent to the relative URL: "/TraegerArtService/traegerart/{id}" (HTTP-PUT) If an existing TraegerArt entity has to be deleted, the following relative URL should be called: "/TraegerArtService/traegerart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Traeger columns: - column: IstGewinnorientiert - column: SitzLand - column: SitzStadt - column: Name - column: Rechtsform - column: TraegerArt The table should have the title "Traegers" und the data must be loaded from the server with the following relative URL: "/TraegerArtService/traeger/traegerart/{id}" Add a HTML table to the view with the following Krankenhaus columns: - column: Name - column: Postleitzahl - column: TraegerArt - column: Land - column: Gruendungsjahr - column: Kurzname - column: BettenGeplant - column: KrankenhausArt - column: IstUniversitaetsklinikum - column: Bundesland - column: Traeger - column: Strasse - column: BettenTatsaechlich - column: Stadt - column: Versorgungsstufe The table should have the title "Krankenhauss" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/krankenhaus/traegerart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum