Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LeistungView
Please create a React-JS view called "LeistungView" for the fields of the Leistung entity. The LeistungView must contain the following fields: - name: Beschreibung type: STRING - name: IstGrundleistung type: BOOL - name: IstWahlleistung type: BOOL - name: Kategorie type: STRING - name: Name type: STRING An existing Leistung entity should be loaded from the relative URL: "/LeistungService/leistung/{id}" (HTTP-GET) If a new Leistung entity has been created, the new entity should be posted to the relative URL: "/LeistungService/leistung" (HTTP-POST) If an existing Leistung entity has been updated, the modified entity should be sent to the relative URL: "/LeistungService/leistung/{id}" (HTTP-PUT) If an existing Leistung entity has to be deleted, the following relative URL should be called: "/LeistungService/leistung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Vertragsleistung columns: - column: Vertrag - column: IstVerpflichtend - column: Leistung The table should have the title "Vertragsleistungs" und the data must be loaded from the server with the following relative URL: "/LeistungService/vertragsleistung/leistung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum