Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BehoerdeApp
Please create a React-JS application for the BehoerdeModule. The application has to offer the following views for the user interface: 1. BehoerdeView 2. GesetzParagraphView 3. TierheimErlaubnisView 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 BehoerdeView must contain the following fields: - name: AdresseOrt type: STRING - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: Land type: STRING - name: Name type: STRING - name: Typ type: STRING An existing Behoerde entity should be loaded from the relative URL: "/BehoerdeService/behoerde/{id}" (HTTP-GET) If a new Behoerde entity has been created, the new entity should be posted to the relative URL: "/BehoerdeService/behoerde" (HTTP-POST) If an existing Behoerde entity has been updated, the modified entity should be sent to the relative URL: "/BehoerdeService/behoerde/{id}" (HTTP-PUT) If an existing Behoerde entity has to be deleted, the following relative URL should be called: "/BehoerdeService/behoerde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tieraufnahme columns: - column: Beschreibung - column: TierherkunftsArt - column: Gemeinde - column: AufnahmeDatum - column: Tier - column: Finder - column: Behoerde The table should have the title "Tieraufnahmes" und the data must be loaded from the server with the following relative URL: "/TierherkunftsArtService/tieraufnahme/behoerde/{id}" Add a HTML table to the view with the following TierheimErlaubnis columns: - column: Tierheim - column: GueltigBis - column: DecktAuslandsimporte - column: Behoerde - column: ErlaubnisNummer - column: Bemerkung - column: GesetzParagraph - column: AusgestelltAm The table should have the title "TierheimErlaubniss" und the data must be loaded from the server with the following relative URL: "/BehoerdeService/tierheimerlaubnis/behoerde/{id}" Add a HTML table to the view with the following TierheimKontrolle columns: - column: Maengel - column: KontrolleurName - column: Behoerde - column: Tierheim - column: Ergebnis - column: NachkontrolleNoetig - column: Kontrolldatum The table should have the title "TierheimKontrolles" und the data must be loaded from the server with the following relative URL: "/TierheimService/tierheimkontrolle/behoerde/{id}" 2. The GesetzParagraphView must contain the following fields: - name: Gesetz type: Gesetz - name: ParagraphCode type: STRING - name: Titel type: STRING - name: Zusammenfassung type: STRING The data source for the [Gesetz] select control should be loaded from the relative URL: "/GemeindeService/gesetz" (HTTP-GET) An existing GesetzParagraph entity should be loaded from the relative URL: "/BehoerdeService/gesetzparagraph/{id}" (HTTP-GET) If a new GesetzParagraph entity has been created, the new entity should be posted to the relative URL: "/BehoerdeService/gesetzparagraph" (HTTP-POST) If an existing GesetzParagraph entity has been updated, the modified entity should be sent to the relative URL: "/BehoerdeService/gesetzparagraph/{id}" (HTTP-PUT) If an existing GesetzParagraph entity has to be deleted, the following relative URL should be called: "/BehoerdeService/gesetzparagraph/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TierheimErlaubnis columns: - column: Tierheim - column: GueltigBis - column: DecktAuslandsimporte - column: Behoerde - column: ErlaubnisNummer - column: Bemerkung - column: GesetzParagraph - column: AusgestelltAm The table should have the title "TierheimErlaubniss" und the data must be loaded from the server with the following relative URL: "/BehoerdeService/tierheimerlaubnis/gesetzparagraph/{id}" 3. The TierheimErlaubnisView must contain the following fields: - name: AusgestelltAm type: DATE - name: Behoerde type: Behoerde - name: Bemerkung type: STRING - name: DecktAuslandsimporte type: BOOL - name: ErlaubnisNummer type: STRING - name: GesetzParagraph type: GesetzParagraph - name: GueltigBis type: DATE - name: Tierheim type: Tierheim The data source for the [Tierheim] select control should be loaded from the relative URL: "/TierheimService/tierheim" (HTTP-GET) The data source for the [GesetzParagraph] select control should be loaded from the relative URL: "/BehoerdeService/gesetzparagraph" (HTTP-GET) The data source for the [Behoerde] select control should be loaded from the relative URL: "/BehoerdeService/behoerde" (HTTP-GET) An existing TierheimErlaubnis entity should be loaded from the relative URL: "/BehoerdeService/tierheimerlaubnis/{id}" (HTTP-GET) If a new TierheimErlaubnis entity has been created, the new entity should be posted to the relative URL: "/BehoerdeService/tierheimerlaubnis" (HTTP-POST) If an existing TierheimErlaubnis entity has been updated, the modified entity should be sent to the relative URL: "/BehoerdeService/tierheimerlaubnis/{id}" (HTTP-PUT) If an existing TierheimErlaubnis entity has to be deleted, the following relative URL should be called: "/BehoerdeService/tierheimerlaubnis/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum