Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TierartView
Please create a React-JS view called "TierartView" for the fields of the Tierart entity. The TierartView must contain the following fields: - name: IstHaustier type: BOOL - name: IstWildtier type: BOOL - name: Name type: STRING An existing Tierart entity should be loaded from the relative URL: "/TierService/tierart/{id}" (HTTP-GET) If a new Tierart entity has been created, the new entity should be posted to the relative URL: "/TierService/tierart" (HTTP-POST) If an existing Tierart entity has been updated, the modified entity should be sent to the relative URL: "/TierService/tierart/{id}" (HTTP-PUT) If an existing Tierart entity has to be deleted, the following relative URL should be called: "/TierService/tierart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tier columns: - column: GeburtsdatumUngefaehr - column: Tierstatus - column: AktuellerHalter - column: NochImTierheim - column: IstGechippt - column: Tierart - column: AufnahmeDatum - column: Tierheim - column: Geschlecht - column: IstGrundimmunisiert - column: Name - column: IstKastriert - column: IstGefaehrlicherHund The table should have the title "Tiers" und the data must be loaded from the server with the following relative URL: "/TierService/tier/tierart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum