Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MerkzettelApp
Please create a React-JS application for the MerkzettelModule. The application has to offer the following views for the user interface: 1. MerkzettelView 2. MerkzettelEintragView 3. UnterkunftFotoView 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 MerkzettelView must contain the following fields: - name: Erstellzeitpunkt type: DATE - name: Gast type: Gast - name: LetzteAktualisierung type: DATE - name: SessionToken type: STRING The data source for the [Gast] select control should be loaded from the relative URL: "/GastService/gast" (HTTP-GET) An existing Merkzettel entity should be loaded from the relative URL: "/MerkzettelService/merkzettel/{id}" (HTTP-GET) If a new Merkzettel entity has been created, the new entity should be posted to the relative URL: "/MerkzettelService/merkzettel" (HTTP-POST) If an existing Merkzettel entity has been updated, the modified entity should be sent to the relative URL: "/MerkzettelService/merkzettel/{id}" (HTTP-PUT) If an existing Merkzettel entity has to be deleted, the following relative URL should be called: "/MerkzettelService/merkzettel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MerkzettelEintrag columns: - column: Merkzettel - column: HinzugefuegtAm - column: Unterkunft The table should have the title "MerkzettelEintrags" und the data must be loaded from the server with the following relative URL: "/MerkzettelService/merkzetteleintrag/merkzettel/{id}" 2. The MerkzettelEintragView must contain the following fields: - name: HinzugefuegtAm type: DATE - name: Merkzettel type: Merkzettel - name: Unterkunft type: Unterkunft The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) The data source for the [Merkzettel] select control should be loaded from the relative URL: "/MerkzettelService/merkzettel" (HTTP-GET) An existing MerkzettelEintrag entity should be loaded from the relative URL: "/MerkzettelService/merkzetteleintrag/{id}" (HTTP-GET) If a new MerkzettelEintrag entity has been created, the new entity should be posted to the relative URL: "/MerkzettelService/merkzetteleintrag" (HTTP-POST) If an existing MerkzettelEintrag entity has been updated, the modified entity should be sent to the relative URL: "/MerkzettelService/merkzetteleintrag/{id}" (HTTP-PUT) If an existing MerkzettelEintrag entity has to be deleted, the following relative URL should be called: "/MerkzettelService/merkzetteleintrag/{id}" (HTTP-DELETE) 3. The UnterkunftFotoView must contain the following fields: - name: Beschreibung type: STRING - name: Erstellzeitpunkt type: DATE - name: IstGrundriss type: BOOL - name: IstTitelbild type: BOOL - name: Reihenfolge type: LONG - name: Titel type: STRING - name: Unterkunft type: Unterkunft - name: Url type: STRING The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) An existing UnterkunftFoto entity should be loaded from the relative URL: "/MerkzettelService/unterkunftfoto/{id}" (HTTP-GET) If a new UnterkunftFoto entity has been created, the new entity should be posted to the relative URL: "/MerkzettelService/unterkunftfoto" (HTTP-POST) If an existing UnterkunftFoto entity has been updated, the modified entity should be sent to the relative URL: "/MerkzettelService/unterkunftfoto/{id}" (HTTP-PUT) If an existing UnterkunftFoto entity has to be deleted, the following relative URL should be called: "/MerkzettelService/unterkunftfoto/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum