Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KastrationsProgrammApp
Please create a React-JS application for the KastrationsProgrammModule. The application has to offer the following views for the user interface: 1. KastrationsProgrammView 2. KastrationsProgrammTierView 3. TierstatusView 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 KastrationsProgrammView must contain the following fields: - name: EndDatum type: DATE - name: FuehrendeOrganisation type: AuslandsTierschutzOrganisation - name: LaeuftNoch type: BOOL - name: Land type: STRING - name: Name type: STRING - name: Region type: STRING - name: StartDatum type: DATE The data source for the [FuehrendeOrganisation] select control should be loaded from the relative URL: "/TierService/auslandstierschutzorganisation" (HTTP-GET) An existing KastrationsProgramm entity should be loaded from the relative URL: "/KastrationsProgrammService/kastrationsprogramm/{id}" (HTTP-GET) If a new KastrationsProgramm entity has been created, the new entity should be posted to the relative URL: "/KastrationsProgrammService/kastrationsprogramm" (HTTP-POST) If an existing KastrationsProgramm entity has been updated, the modified entity should be sent to the relative URL: "/KastrationsProgrammService/kastrationsprogramm/{id}" (HTTP-PUT) If an existing KastrationsProgramm entity has to be deleted, the following relative URL should be called: "/KastrationsProgrammService/kastrationsprogramm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KastrationsProgrammTier columns: - column: KastrationsDatum - column: ZurueckAnFundort - column: KastrationsProgramm - column: Tier The table should have the title "KastrationsProgrammTiers" und the data must be loaded from the server with the following relative URL: "/KastrationsProgrammService/kastrationsprogrammtier/kastrationsprogramm/{id}" 2. The KastrationsProgrammTierView must contain the following fields: - name: KastrationsDatum type: DATE - name: KastrationsProgramm type: KastrationsProgramm - name: Tier type: Tier - name: ZurueckAnFundort type: BOOL The data source for the [Tier] select control should be loaded from the relative URL: "/TierService/tier" (HTTP-GET) The data source for the [KastrationsProgramm] select control should be loaded from the relative URL: "/KastrationsProgrammService/kastrationsprogramm" (HTTP-GET) An existing KastrationsProgrammTier entity should be loaded from the relative URL: "/KastrationsProgrammService/kastrationsprogrammtier/{id}" (HTTP-GET) If a new KastrationsProgrammTier entity has been created, the new entity should be posted to the relative URL: "/KastrationsProgrammService/kastrationsprogrammtier" (HTTP-POST) If an existing KastrationsProgrammTier entity has been updated, the modified entity should be sent to the relative URL: "/KastrationsProgrammService/kastrationsprogrammtier/{id}" (HTTP-PUT) If an existing KastrationsProgrammTier entity has to be deleted, the following relative URL should be called: "/KastrationsProgrammService/kastrationsprogrammtier/{id}" (HTTP-DELETE) 3. The TierstatusView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Tierstatus entity should be loaded from the relative URL: "/KastrationsProgrammService/tierstatus/{id}" (HTTP-GET) If a new Tierstatus entity has been created, the new entity should be posted to the relative URL: "/KastrationsProgrammService/tierstatus" (HTTP-POST) If an existing Tierstatus entity has been updated, the modified entity should be sent to the relative URL: "/KastrationsProgrammService/tierstatus/{id}" (HTTP-PUT) If an existing Tierstatus entity has to be deleted, the following relative URL should be called: "/KastrationsProgrammService/tierstatus/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tier columns: - column: GeburtsdatumUngefaehr - column: Tierstatus - column: AktuellerHalter - column: NochImTierheim - column: IstGechippt - column: Tierart - column: AufnahmeDatum - column: Tierheim - column: Geschlecht - column: IstGrundimmunisiert - column: Name - column: IstKastriert - column: IstGefaehrlicherHund The table should have the title "Tiers" und the data must be loaded from the server with the following relative URL: "/TierService/tier/tierstatus/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum