Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AuswilderungsprojektApp
Please create a React-JS application for the AuswilderungsprojektModule. The application has to offer the following views for the user interface: 1. AuswilderungsprojektView 2. ProjektArtView 3. ProjektZooPartnerView 4. ZooTypView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AuswilderungsprojektView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: LONG - name: Land type: STRING - name: LeitOrganisation type: STRING - name: Name type: STRING - name: Region type: STRING - name: Startjahr type: LONG - name: Status type: STRING An existing Auswilderungsprojekt entity should be loaded from the relative URL: "/AuswilderungsprojektService/auswilderungsprojekt/{id}" (HTTP-GET) If a new Auswilderungsprojekt entity has been created, the new entity should be posted to the relative URL: "/AuswilderungsprojektService/auswilderungsprojekt" (HTTP-POST) If an existing Auswilderungsprojekt entity has been updated, the modified entity should be sent to the relative URL: "/AuswilderungsprojektService/auswilderungsprojekt/{id}" (HTTP-PUT) If an existing Auswilderungsprojekt entity has to be deleted, the following relative URL should be called: "/AuswilderungsprojektService/auswilderungsprojekt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProjektArt columns: - column: IstLaufend - column: Notizen - column: AnzahlAusgewildert - column: Auswilderungsprojekt - column: TierTaxon The table should have the title "ProjektArts" und the data must be loaded from the server with the following relative URL: "/AuswilderungsprojektService/projektart/auswilderungsprojekt/{id}" Add a HTML table to the view with the following ProjektZooPartner columns: - column: BeitragBeschreibung - column: Rolle - column: Auswilderungsprojekt - column: Zoo The table should have the title "ProjektZooPartners" und the data must be loaded from the server with the following relative URL: "/AuswilderungsprojektService/projektzoopartner/auswilderungsprojekt/{id}" 2. The ProjektArtView must contain the following fields: - name: AnzahlAusgewildert type: LONG - name: Auswilderungsprojekt type: Auswilderungsprojekt - name: IstLaufend type: BOOL - name: Notizen type: STRING - name: TierTaxon type: TierTaxon The data source for the [TierTaxon] select control should be loaded from the relative URL: "/TierTaxonService/tiertaxon" (HTTP-GET) The data source for the [Auswilderungsprojekt] select control should be loaded from the relative URL: "/AuswilderungsprojektService/auswilderungsprojekt" (HTTP-GET) An existing ProjektArt entity should be loaded from the relative URL: "/AuswilderungsprojektService/projektart/{id}" (HTTP-GET) If a new ProjektArt entity has been created, the new entity should be posted to the relative URL: "/AuswilderungsprojektService/projektart" (HTTP-POST) If an existing ProjektArt entity has been updated, the modified entity should be sent to the relative URL: "/AuswilderungsprojektService/projektart/{id}" (HTTP-PUT) If an existing ProjektArt entity has to be deleted, the following relative URL should be called: "/AuswilderungsprojektService/projektart/{id}" (HTTP-DELETE) 3. The ProjektZooPartnerView must contain the following fields: - name: Auswilderungsprojekt type: Auswilderungsprojekt - name: BeitragBeschreibung type: STRING - name: Rolle type: STRING - name: Zoo type: Zoo The data source for the [Auswilderungsprojekt] select control should be loaded from the relative URL: "/AuswilderungsprojektService/auswilderungsprojekt" (HTTP-GET) The data source for the [Zoo] select control should be loaded from the relative URL: "/ZooService/zoo" (HTTP-GET) An existing ProjektZooPartner entity should be loaded from the relative URL: "/AuswilderungsprojektService/projektzoopartner/{id}" (HTTP-GET) If a new ProjektZooPartner entity has been created, the new entity should be posted to the relative URL: "/AuswilderungsprojektService/projektzoopartner" (HTTP-POST) If an existing ProjektZooPartner entity has been updated, the modified entity should be sent to the relative URL: "/AuswilderungsprojektService/projektzoopartner/{id}" (HTTP-PUT) If an existing ProjektZooPartner entity has to be deleted, the following relative URL should be called: "/AuswilderungsprojektService/projektzoopartner/{id}" (HTTP-DELETE) 4. The ZooTypView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing ZooTyp entity should be loaded from the relative URL: "/AuswilderungsprojektService/zootyp/{id}" (HTTP-GET) If a new ZooTyp entity has been created, the new entity should be posted to the relative URL: "/AuswilderungsprojektService/zootyp" (HTTP-POST) If an existing ZooTyp entity has been updated, the modified entity should be sent to the relative URL: "/AuswilderungsprojektService/zootyp/{id}" (HTTP-PUT) If an existing ZooTyp entity has to be deleted, the following relative URL should be called: "/AuswilderungsprojektService/zootyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Zoo columns: - column: Gruendungsjahr - column: ZooTyp - column: IstPrivat - column: Region - column: Land - column: Beschreibung - column: FlaecheHektar - column: Stadt - column: Alternativname - column: Name The table should have the title "Zoos" und the data must be loaded from the server with the following relative URL: "/ZooService/zoo/zootyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum