Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SammelsystemApp
Please create a React-JS application for the SammelsystemModule. The application has to offer the following views for the user interface: 1. SammelrouteView 2. SammelsystemView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The SammelrouteView must contain the following fields: - name: Beschreibung type: STRING - name: FrequenzProWoche type: LONG - name: RoutenCode type: STRING - name: Sammelsystem type: Sammelsystem The data source for the [Sammelsystem] select control should be loaded from the relative URL: "/SammelsystemService/sammelsystem" (HTTP-GET) An existing Sammelroute entity should be loaded from the relative URL: "/SammelsystemService/sammelroute/{id}" (HTTP-GET) If a new Sammelroute entity has been created, the new entity should be posted to the relative URL: "/SammelsystemService/sammelroute" (HTTP-POST) If an existing Sammelroute entity has been updated, the modified entity should be sent to the relative URL: "/SammelsystemService/sammelroute/{id}" (HTTP-PUT) If an existing Sammelroute entity has to be deleted, the following relative URL should be called: "/SammelsystemService/sammelroute/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Sammelereignis columns: - column: SammelDatumZeit - column: Abfallstrom - column: GesammelteMengeTonnen - column: Sammelfahrzeug - column: Sammelroute The table should have the title "Sammelereigniss" und the data must be loaded from the server with the following relative URL: "/AbfallstromService/sammelereignis/sammelroute/{id}" 2. The SammelsystemView must contain the following fields: - name: Beschreibung type: STRING - name: Gemeinde type: Gemeinde - name: Name type: STRING - name: SystemTyp type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing Sammelsystem entity should be loaded from the relative URL: "/SammelsystemService/sammelsystem/{id}" (HTTP-GET) If a new Sammelsystem entity has been created, the new entity should be posted to the relative URL: "/SammelsystemService/sammelsystem" (HTTP-POST) If an existing Sammelsystem entity has been updated, the modified entity should be sent to the relative URL: "/SammelsystemService/sammelsystem/{id}" (HTTP-PUT) If an existing Sammelsystem entity has to be deleted, the following relative URL should be called: "/SammelsystemService/sammelsystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Sammelroute columns: - column: FrequenzProWoche - column: Beschreibung - column: RoutenCode - column: Sammelsystem The table should have the title "Sammelroutes" und the data must be loaded from the server with the following relative URL: "/SammelsystemService/sammelroute/sammelsystem/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum