Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KundeView
Please create a React-JS view called "KundeView" for the fields of the Kunde entity. The KundeView must contain the following fields: - name: Geburtsdatum type: DATE - name: HatKundenkarte type: BOOL - name: Kundenart type: STRING - name: Land type: Land - name: Name type: STRING - name: Stadt type: Stadt The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Kunde entity should be loaded from the relative URL: "/KundeService/kunde/{id}" (HTTP-GET) If a new Kunde entity has been created, the new entity should be posted to the relative URL: "/KundeService/kunde" (HTTP-POST) If an existing Kunde entity has been updated, the modified entity should be sent to the relative URL: "/KundeService/kunde/{id}" (HTTP-PUT) If an existing Kunde entity has to be deleted, the following relative URL should be called: "/KundeService/kunde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kundenkarte columns: - column: Kartennummer - column: Ablaufdatum - column: Kunde - column: Ausgabedatum - column: RabattProgramm - column: Supermarkt The table should have the title "Kundenkartes" und the data must be loaded from the server with the following relative URL: "/KundeService/kundenkarte/kunde/{id}" Add a HTML table to the view with the following Mitgliedschaft columns: - column: Konsumgenossenschaft - column: Kunde - column: Beitrittsdatum - column: Geldeinlage The table should have the title "Mitgliedschafts" und the data must be loaded from the server with the following relative URL: "/KonsumgenossenschaftService/mitgliedschaft/kunde/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum