Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TierschutzVereinApp
Please create a React-JS application for the TierschutzVereinModule. The application has to offer the following views for the user interface: 1. AdoptionsVertragView 2. TierheimVereinsMitgliedschaftView 3. TierschutzVereinView 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 AdoptionsVertragView must contain the following fields: - name: Gebuehr type: STRING - name: HatKontrollklauseln type: BOOL - name: HatRueckgabepflicht type: BOOL - name: NeuerHalter type: Tierhalter - name: Tier type: Tier - name: Tierheim type: Tierheim - name: Vertragsart type: STRING - name: Vertragsdatum type: DATE The data source for the [Tierheim] select control should be loaded from the relative URL: "/TierheimService/tierheim" (HTTP-GET) The data source for the [Tier] select control should be loaded from the relative URL: "/TierService/tier" (HTTP-GET) The data source for the [NeuerHalter] select control should be loaded from the relative URL: "/TierhalterService/tierhalter" (HTTP-GET) An existing AdoptionsVertrag entity should be loaded from the relative URL: "/TierschutzVereinService/adoptionsvertrag/{id}" (HTTP-GET) If a new AdoptionsVertrag entity has been created, the new entity should be posted to the relative URL: "/TierschutzVereinService/adoptionsvertrag" (HTTP-POST) If an existing AdoptionsVertrag entity has been updated, the modified entity should be sent to the relative URL: "/TierschutzVereinService/adoptionsvertrag/{id}" (HTTP-PUT) If an existing AdoptionsVertrag entity has to be deleted, the following relative URL should be called: "/TierschutzVereinService/adoptionsvertrag/{id}" (HTTP-DELETE) 2. The TierheimVereinsMitgliedschaftView must contain the following fields: - name: Mitgliedsart type: STRING - name: MitgliedSeit type: DATE - name: Tierheim type: Tierheim - name: TierschutzVerein type: TierschutzVerein The data source for the [Tierheim] select control should be loaded from the relative URL: "/TierheimService/tierheim" (HTTP-GET) The data source for the [TierschutzVerein] select control should be loaded from the relative URL: "/TierschutzVereinService/tierschutzverein" (HTTP-GET) An existing TierheimVereinsMitgliedschaft entity should be loaded from the relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/{id}" (HTTP-GET) If a new TierheimVereinsMitgliedschaft entity has been created, the new entity should be posted to the relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft" (HTTP-POST) If an existing TierheimVereinsMitgliedschaft entity has been updated, the modified entity should be sent to the relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/{id}" (HTTP-PUT) If an existing TierheimVereinsMitgliedschaft entity has to be deleted, the following relative URL should be called: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/{id}" (HTTP-DELETE) 3. The TierschutzVereinView must contain the following fields: - name: AdresseOrt type: STRING - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: IstDachverband type: BOOL - name: Land type: STRING - name: MitgliederzahlGeschaetzt type: LONG - name: Name type: STRING An existing TierschutzVerein entity should be loaded from the relative URL: "/TierschutzVereinService/tierschutzverein/{id}" (HTTP-GET) If a new TierschutzVerein entity has been created, the new entity should be posted to the relative URL: "/TierschutzVereinService/tierschutzverein" (HTTP-POST) If an existing TierschutzVerein entity has been updated, the modified entity should be sent to the relative URL: "/TierschutzVereinService/tierschutzverein/{id}" (HTTP-PUT) If an existing TierschutzVerein entity has to be deleted, the following relative URL should be called: "/TierschutzVereinService/tierschutzverein/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TierheimVereinsMitgliedschaft columns: - column: TierschutzVerein - column: Mitgliedsart - column: MitgliedSeit - column: Tierheim The table should have the title "TierheimVereinsMitgliedschafts" und the data must be loaded from the server with the following relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/tierschutzverein/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum