Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. LandView 2. NotrufnummerView 3. PolizeiDienststelleView 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 LandView must contain the following fields: - name: IsoCode type: STRING - name: Kontinent type: STRING - name: Name type: STRING - name: Notizen type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Ministerium columns: - column: MinisteriumTyp - column: Land - column: Name - column: Beschreibung The table should have the title "Ministeriums" und the data must be loaded from the server with the following relative URL: "/PolizeiService/ministerium/land/{id}" Add a HTML table to the view with the following Polizei columns: - column: IstMilitaerisch - column: Abkuerzung - column: PolizeiArt - column: Land - column: Notizen - column: Ministerium - column: Name - column: Hauptsitz - column: Gruendungsdatum - column: ZustandsEbene The table should have the title "Polizeis" und the data must be loaded from the server with the following relative URL: "/PolizeiService/polizei/land/{id}" Add a HTML table to the view with the following Mission columns: - column: MissionTyp - column: Name - column: GastLand - column: InternationaleOrganisation - column: StartDatum - column: EndDatum - column: Beschreibung The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/InternationaleOrganisationService/mission/gastland/{id}" Add a HTML table to the view with the following Gesetz columns: - column: Land - column: InkraftDatum - column: Zitierung - column: Name - column: Beschreibung - column: GesetzTyp The table should have the title "Gesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/gesetz/land/{id}" Add a HTML table to the view with the following InternationaleMitgliedschaft columns: - column: Land - column: Notizen - column: SeitDatum - column: InternationaleOrganisation The table should have the title "InternationaleMitgliedschafts" und the data must be loaded from the server with the following relative URL: "/InternationaleOrganisationService/internationalemitgliedschaft/land/{id}" Add a HTML table to the view with the following Notrufnummer columns: - column: Land - column: IstEuropa112 - column: Beschreibung - column: Nummer The table should have the title "Notrufnummers" und the data must be loaded from the server with the following relative URL: "/LandService/notrufnummer/land/{id}" Add a HTML table to the view with the following PolizeiDienststelle columns: - column: Name - column: Breitengrad - column: Adresse - column: LandRef - column: Polizei - column: Stadt - column: Laengengrad - column: Region - column: DienststelleTyp The table should have the title "PolizeiDienststelles" und the data must be loaded from the server with the following relative URL: "/LandService/polizeidienststelle/landref/{id}" 2. The NotrufnummerView must contain the following fields: - name: Beschreibung type: STRING - name: IstEuropa112 type: BOOL - name: Land type: Land - name: Nummer type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Notrufnummer entity should be loaded from the relative URL: "/LandService/notrufnummer/{id}" (HTTP-GET) If a new Notrufnummer entity has been created, the new entity should be posted to the relative URL: "/LandService/notrufnummer" (HTTP-POST) If an existing Notrufnummer entity has been updated, the modified entity should be sent to the relative URL: "/LandService/notrufnummer/{id}" (HTTP-PUT) If an existing Notrufnummer entity has to be deleted, the following relative URL should be called: "/LandService/notrufnummer/{id}" (HTTP-DELETE) 3. The PolizeiDienststelleView must contain the following fields: - name: Adresse type: STRING - name: Breitengrad type: DOUBLE - name: DienststelleTyp type: STRING - name: Laengengrad type: DOUBLE - name: LandRef type: Land - name: Name type: STRING - name: Polizei type: Polizei - name: Region type: STRING - name: Stadt type: STRING The data source for the [LandRef] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing PolizeiDienststelle entity should be loaded from the relative URL: "/LandService/polizeidienststelle/{id}" (HTTP-GET) If a new PolizeiDienststelle entity has been created, the new entity should be posted to the relative URL: "/LandService/polizeidienststelle" (HTTP-POST) If an existing PolizeiDienststelle entity has been updated, the modified entity should be sent to the relative URL: "/LandService/polizeidienststelle/{id}" (HTTP-PUT) If an existing PolizeiDienststelle entity has to be deleted, the following relative URL should be called: "/LandService/polizeidienststelle/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum