Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HistorischerAspektApp
Please create a React-JS application for the HistorischerAspektModule. The application has to offer the following views for the user interface: 1. HistorischerAspektView 2. KureinrichtungTypView 3. KurortHistorischerAspektView 4. KurtypHistorischerAspektView 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 HistorischerAspektView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: INT - name: Startjahr type: INT - name: Titel type: STRING An existing HistorischerAspekt entity should be loaded from the relative URL: "/HistorischerAspektService/historischeraspekt/{id}" (HTTP-GET) If a new HistorischerAspekt entity has been created, the new entity should be posted to the relative URL: "/HistorischerAspektService/historischeraspekt" (HTTP-POST) If an existing HistorischerAspekt entity has been updated, the modified entity should be sent to the relative URL: "/HistorischerAspektService/historischeraspekt/{id}" (HTTP-PUT) If an existing HistorischerAspekt entity has to be deleted, the following relative URL should be called: "/HistorischerAspektService/historischeraspekt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KurortHistorischerAspekt columns: - column: HistorischerAspekt - column: Notizen - column: Kurort The table should have the title "KurortHistorischerAspekts" und the data must be loaded from the server with the following relative URL: "/HistorischerAspektService/kurorthistorischeraspekt/historischeraspekt/{id}" Add a HTML table to the view with the following KurtypHistorischerAspekt columns: - column: HistorischerAspekt - column: Notizen - column: Kurtyp The table should have the title "KurtypHistorischerAspekts" und the data must be loaded from the server with the following relative URL: "/HistorischerAspektService/kurtyphistorischeraspekt/historischeraspekt/{id}" 2. The KureinrichtungTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing KureinrichtungTyp entity should be loaded from the relative URL: "/HistorischerAspektService/kureinrichtungtyp/{id}" (HTTP-GET) If a new KureinrichtungTyp entity has been created, the new entity should be posted to the relative URL: "/HistorischerAspektService/kureinrichtungtyp" (HTTP-POST) If an existing KureinrichtungTyp entity has been updated, the modified entity should be sent to the relative URL: "/HistorischerAspektService/kureinrichtungtyp/{id}" (HTTP-PUT) If an existing KureinrichtungTyp entity has to be deleted, the following relative URL should be called: "/HistorischerAspektService/kureinrichtungtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kureinrichtung columns: - column: Postleitzahl - column: Bettenkapazitaet - column: Zertifiziert - column: Stadt - column: Name - column: Kurort - column: Adresszeile - column: KureinrichtungTyp The table should have the title "Kureinrichtungs" und the data must be loaded from the server with the following relative URL: "/KureinrichtungService/kureinrichtung/kureinrichtungtyp/{id}" 3. The KurortHistorischerAspektView must contain the following fields: - name: HistorischerAspekt type: HistorischerAspekt - name: Kurort type: Kurort - name: Notizen type: STRING The data source for the [HistorischerAspekt] select control should be loaded from the relative URL: "/HistorischerAspektService/historischeraspekt" (HTTP-GET) The data source for the [Kurort] select control should be loaded from the relative URL: "/KureinrichtungService/kurort" (HTTP-GET) An existing KurortHistorischerAspekt entity should be loaded from the relative URL: "/HistorischerAspektService/kurorthistorischeraspekt/{id}" (HTTP-GET) If a new KurortHistorischerAspekt entity has been created, the new entity should be posted to the relative URL: "/HistorischerAspektService/kurorthistorischeraspekt" (HTTP-POST) If an existing KurortHistorischerAspekt entity has been updated, the modified entity should be sent to the relative URL: "/HistorischerAspektService/kurorthistorischeraspekt/{id}" (HTTP-PUT) If an existing KurortHistorischerAspekt entity has to be deleted, the following relative URL should be called: "/HistorischerAspektService/kurorthistorischeraspekt/{id}" (HTTP-DELETE) 4. The KurtypHistorischerAspektView must contain the following fields: - name: HistorischerAspekt type: HistorischerAspekt - name: Kurtyp type: Kurtyp - name: Notizen type: STRING The data source for the [Kurtyp] select control should be loaded from the relative URL: "/KurtypService/kurtyp" (HTTP-GET) The data source for the [HistorischerAspekt] select control should be loaded from the relative URL: "/HistorischerAspektService/historischeraspekt" (HTTP-GET) An existing KurtypHistorischerAspekt entity should be loaded from the relative URL: "/HistorischerAspektService/kurtyphistorischeraspekt/{id}" (HTTP-GET) If a new KurtypHistorischerAspekt entity has been created, the new entity should be posted to the relative URL: "/HistorischerAspektService/kurtyphistorischeraspekt" (HTTP-POST) If an existing KurtypHistorischerAspekt entity has been updated, the modified entity should be sent to the relative URL: "/HistorischerAspektService/kurtyphistorischeraspekt/{id}" (HTTP-PUT) If an existing KurtypHistorischerAspekt entity has to be deleted, the following relative URL should be called: "/HistorischerAspektService/kurtyphistorischeraspekt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum