Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KartendienstApp
Please create a React-JS application for the KartendienstModule. The application has to offer the following views for the user interface: 1. KartendienstView 2. KartenebeneView 3. ZugriffsprotokollView 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 KartendienstView must contain the following fields: - name: Diensttyp type: STRING - name: ErzeugtAm type: DATE - name: Geodatensatz type: Geodatensatz - name: Name type: STRING - name: Oeffentlich type: BOOL - name: Url type: STRING - name: Version type: STRING The data source for the [Geodatensatz] select control should be loaded from the relative URL: "/GeodatensatzService/geodatensatz" (HTTP-GET) An existing Kartendienst entity should be loaded from the relative URL: "/KartendienstService/kartendienst/{id}" (HTTP-GET) If a new Kartendienst entity has been created, the new entity should be posted to the relative URL: "/KartendienstService/kartendienst" (HTTP-POST) If an existing Kartendienst entity has been updated, the modified entity should be sent to the relative URL: "/KartendienstService/kartendienst/{id}" (HTTP-PUT) If an existing Kartendienst entity has to be deleted, the following relative URL should be called: "/KartendienstService/kartendienst/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Zugriffsprotokoll columns: - column: Geodatensatz - column: ZugriffAm - column: ClientIp - column: Kartendienst - column: Benutzerkonto - column: Aktion The table should have the title "Zugriffsprotokolls" und the data must be loaded from the server with the following relative URL: "/KartendienstService/zugriffsprotokoll/kartendienst/{id}" Add a HTML table to the view with the following Kartenebene columns: - column: Kartendienst - column: Name - column: Ebenenname - column: Abstract - column: Titel - column: MinMassstab - column: ErzeugtAm - column: MaxMassstab The table should have the title "Kartenebenes" und the data must be loaded from the server with the following relative URL: "/KartendienstService/kartenebene/kartendienst/{id}" 2. The KartenebeneView must contain the following fields: - name: Abstract type: STRING - name: Ebenenname type: STRING - name: ErzeugtAm type: DATE - name: Kartendienst type: Kartendienst - name: MaxMassstab type: DOUBLE - name: MinMassstab type: DOUBLE - name: Name type: STRING - name: Titel type: STRING The data source for the [Kartendienst] select control should be loaded from the relative URL: "/KartendienstService/kartendienst" (HTTP-GET) An existing Kartenebene entity should be loaded from the relative URL: "/KartendienstService/kartenebene/{id}" (HTTP-GET) If a new Kartenebene entity has been created, the new entity should be posted to the relative URL: "/KartendienstService/kartenebene" (HTTP-POST) If an existing Kartenebene entity has been updated, the modified entity should be sent to the relative URL: "/KartendienstService/kartenebene/{id}" (HTTP-PUT) If an existing Kartenebene entity has to be deleted, the following relative URL should be called: "/KartendienstService/kartenebene/{id}" (HTTP-DELETE) 3. The ZugriffsprotokollView must contain the following fields: - name: Aktion type: STRING - name: Benutzerkonto type: Benutzerkonto - name: ClientIp type: STRING - name: Geodatensatz type: Geodatensatz - name: Kartendienst type: Kartendienst - name: ZugriffAm type: DATE The data source for the [Benutzerkonto] select control should be loaded from the relative URL: "/BenutzerkontoService/benutzerkonto" (HTTP-GET) The data source for the [Geodatensatz] select control should be loaded from the relative URL: "/GeodatensatzService/geodatensatz" (HTTP-GET) The data source for the [Kartendienst] select control should be loaded from the relative URL: "/KartendienstService/kartendienst" (HTTP-GET) An existing Zugriffsprotokoll entity should be loaded from the relative URL: "/KartendienstService/zugriffsprotokoll/{id}" (HTTP-GET) If a new Zugriffsprotokoll entity has been created, the new entity should be posted to the relative URL: "/KartendienstService/zugriffsprotokoll" (HTTP-POST) If an existing Zugriffsprotokoll entity has been updated, the modified entity should be sent to the relative URL: "/KartendienstService/zugriffsprotokoll/{id}" (HTTP-PUT) If an existing Zugriffsprotokoll entity has to be deleted, the following relative URL should be called: "/KartendienstService/zugriffsprotokoll/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum