Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EinkaufsgemeinschaftApp
Please create a React-JS application for the EinkaufsgemeinschaftModule. The application has to offer the following views for the user interface: 1. EinkaufsgemeinschaftView 2. EinkaufsgemeinschaftMitgliedView 3. MarketingmassnahmeView 4. SortimentstypView 5. VerkaufsflaechenklasseView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The EinkaufsgemeinschaftView must contain the following fields: - name: Gruendungsjahr type: INT - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Einkaufsgemeinschaft entity should be loaded from the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaft/{id}" (HTTP-GET) If a new Einkaufsgemeinschaft entity has been created, the new entity should be posted to the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaft" (HTTP-POST) If an existing Einkaufsgemeinschaft entity has been updated, the modified entity should be sent to the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaft/{id}" (HTTP-PUT) If an existing Einkaufsgemeinschaft entity has to be deleted, the following relative URL should be called: "/EinkaufsgemeinschaftService/einkaufsgemeinschaft/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Supermarkt columns: - column: Betreiberart - column: Stadt - column: Land - column: Konsumgenossenschaft - column: Handelskette - column: Name - column: FrontstoreFlaecheQm - column: HatBedientheken - column: Sortimentstyp - column: Eroeffnungsdatum - column: BackstoreFlaecheQm - column: IstBioSupermarkt - column: Betriebsform - column: Einkaufsgemeinschaft - column: IstDiscounter - column: VerkaufsflaecheQm The table should have the title "Supermarkts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/supermarkt/einkaufsgemeinschaft/{id}" Add a HTML table to the view with the following EinkaufsgemeinschaftMitglied columns: - column: Einkaufsgemeinschaft - column: Beitrittsdatum - column: Handelskette The table should have the title "EinkaufsgemeinschaftMitglieds" und the data must be loaded from the server with the following relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaftmitglied/einkaufsgemeinschaft/{id}" 2. The EinkaufsgemeinschaftMitgliedView must contain the following fields: - name: Beitrittsdatum type: DATE - name: Einkaufsgemeinschaft type: Einkaufsgemeinschaft - name: Handelskette type: Handelskette The data source for the [Einkaufsgemeinschaft] select control should be loaded from the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaft" (HTTP-GET) The data source for the [Handelskette] select control should be loaded from the relative URL: "/LandService/handelskette" (HTTP-GET) An existing EinkaufsgemeinschaftMitglied entity should be loaded from the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaftmitglied/{id}" (HTTP-GET) If a new EinkaufsgemeinschaftMitglied entity has been created, the new entity should be posted to the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaftmitglied" (HTTP-POST) If an existing EinkaufsgemeinschaftMitglied entity has been updated, the modified entity should be sent to the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaftmitglied/{id}" (HTTP-PUT) If an existing EinkaufsgemeinschaftMitglied entity has to be deleted, the following relative URL should be called: "/EinkaufsgemeinschaftService/einkaufsgemeinschaftmitglied/{id}" (HTTP-DELETE) 3. The MarketingmassnahmeView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Enddatum type: DATE - name: IstHintergrundmusik type: BOOL - name: IstImpulskaufFoerderung type: BOOL - name: IstSonderangebot type: BOOL - name: Startdatum type: DATE - name: Supermarkt type: Supermarkt - name: Zielgruppe type: STRING The data source for the [Supermarkt] select control should be loaded from the relative URL: "/SupermarktService/supermarkt" (HTTP-GET) An existing Marketingmassnahme entity should be loaded from the relative URL: "/EinkaufsgemeinschaftService/marketingmassnahme/{id}" (HTTP-GET) If a new Marketingmassnahme entity has been created, the new entity should be posted to the relative URL: "/EinkaufsgemeinschaftService/marketingmassnahme" (HTTP-POST) If an existing Marketingmassnahme entity has been updated, the modified entity should be sent to the relative URL: "/EinkaufsgemeinschaftService/marketingmassnahme/{id}" (HTTP-PUT) If an existing Marketingmassnahme entity has to be deleted, the following relative URL should be called: "/EinkaufsgemeinschaftService/marketingmassnahme/{id}" (HTTP-DELETE) 4. The SortimentstypView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: IstDiscounterSortiment type: BOOL - name: IstVollsortimenter type: BOOL - name: MaxArtikelanzahl type: INT - name: MinArtikelanzahl type: INT An existing Sortimentstyp entity should be loaded from the relative URL: "/EinkaufsgemeinschaftService/sortimentstyp/{id}" (HTTP-GET) If a new Sortimentstyp entity has been created, the new entity should be posted to the relative URL: "/EinkaufsgemeinschaftService/sortimentstyp" (HTTP-POST) If an existing Sortimentstyp entity has been updated, the modified entity should be sent to the relative URL: "/EinkaufsgemeinschaftService/sortimentstyp/{id}" (HTTP-PUT) If an existing Sortimentstyp entity has to be deleted, the following relative URL should be called: "/EinkaufsgemeinschaftService/sortimentstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Supermarkt columns: - column: Betreiberart - column: Stadt - column: Land - column: Konsumgenossenschaft - column: Handelskette - column: Name - column: FrontstoreFlaecheQm - column: HatBedientheken - column: Sortimentstyp - column: Eroeffnungsdatum - column: BackstoreFlaecheQm - column: IstBioSupermarkt - column: Betriebsform - column: Einkaufsgemeinschaft - column: IstDiscounter - column: VerkaufsflaecheQm The table should have the title "Supermarkts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/supermarkt/sortimentstyp/{id}" 5. The VerkaufsflaechenklasseView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: HoechstFlaecheQm type: INT - name: MindestFlaecheQm type: INT An existing Verkaufsflaechenklasse entity should be loaded from the relative URL: "/EinkaufsgemeinschaftService/verkaufsflaechenklasse/{id}" (HTTP-GET) If a new Verkaufsflaechenklasse entity has been created, the new entity should be posted to the relative URL: "/EinkaufsgemeinschaftService/verkaufsflaechenklasse" (HTTP-POST) If an existing Verkaufsflaechenklasse entity has been updated, the modified entity should be sent to the relative URL: "/EinkaufsgemeinschaftService/verkaufsflaechenklasse/{id}" (HTTP-PUT) If an existing Verkaufsflaechenklasse entity has to be deleted, the following relative URL should be called: "/EinkaufsgemeinschaftService/verkaufsflaechenklasse/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum