Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AngebotView
Please create a React-JS view called "AngebotView" for the fields of the Angebot entity. The AngebotView must contain the following fields: - name: Aktiv type: BOOL - name: Beschreibung type: STRING - name: EndDatum type: DATE - name: Erstellzeitpunkt type: DATE - name: RabattBetrag type: STRING - name: RabattProzent type: STRING - name: StartDatum type: DATE - name: Titel type: STRING - name: Waehrung type: STRING An existing Angebot entity should be loaded from the relative URL: "/AngebotService/angebot/{id}" (HTTP-GET) If a new Angebot entity has been created, the new entity should be posted to the relative URL: "/AngebotService/angebot" (HTTP-POST) If an existing Angebot entity has been updated, the modified entity should be sent to the relative URL: "/AngebotService/angebot/{id}" (HTTP-PUT) If an existing Angebot entity has to be deleted, the following relative URL should be called: "/AngebotService/angebot/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AngebotUnterkunft columns: - column: Angebot - column: Erstellzeitpunkt - column: Unterkunft The table should have the title "AngebotUnterkunfts" und the data must be loaded from the server with the following relative URL: "/AngebotService/angebotunterkunft/angebot/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum