Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GenehmigungApp
Please create a React-JS application for the GenehmigungModule. The application has to offer the following views for the user interface: 1. GenehmigungView 2. VeterinaeramtView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The GenehmigungView must contain the following fields: - name: Ablaufdatum type: DATE - name: Ausstellungsdatum type: DATE - name: Hundetrainer type: Hundetrainer - name: Notizen type: STRING - name: ParagraphReferenz type: STRING - name: Veterinaeramt type: Veterinaeramt The data source for the [Hundetrainer] select control should be loaded from the relative URL: "/KursService/hundetrainer" (HTTP-GET) The data source for the [Veterinaeramt] select control should be loaded from the relative URL: "/GenehmigungService/veterinaeramt" (HTTP-GET) An existing Genehmigung entity should be loaded from the relative URL: "/GenehmigungService/genehmigung/{id}" (HTTP-GET) If a new Genehmigung entity has been created, the new entity should be posted to the relative URL: "/GenehmigungService/genehmigung" (HTTP-POST) If an existing Genehmigung entity has been updated, the modified entity should be sent to the relative URL: "/GenehmigungService/genehmigung/{id}" (HTTP-PUT) If an existing Genehmigung entity has to be deleted, the following relative URL should be called: "/GenehmigungService/genehmigung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GenehmigungGesetz columns: - column: Genehmigung - column: Gesetz The table should have the title "GenehmigungGesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/genehmigunggesetz/genehmigung/{id}" 2. The VeterinaeramtView must contain the following fields: - name: Bundesland type: STRING - name: Name type: STRING - name: Stadt type: STRING An existing Veterinaeramt entity should be loaded from the relative URL: "/GenehmigungService/veterinaeramt/{id}" (HTTP-GET) If a new Veterinaeramt entity has been created, the new entity should be posted to the relative URL: "/GenehmigungService/veterinaeramt" (HTTP-POST) If an existing Veterinaeramt entity has been updated, the modified entity should be sent to the relative URL: "/GenehmigungService/veterinaeramt/{id}" (HTTP-PUT) If an existing Veterinaeramt entity has to be deleted, the following relative URL should be called: "/GenehmigungService/veterinaeramt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Genehmigung columns: - column: Ausstellungsdatum - column: Ablaufdatum - column: Veterinaeramt - column: Hundetrainer - column: Notizen - column: ParagraphReferenz The table should have the title "Genehmigungs" und the data must be loaded from the server with the following relative URL: "/GenehmigungService/genehmigung/veterinaeramt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum