Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BehaeltertypApp
Please create a React-JS application for the BehaeltertypModule. The application has to offer the following views for the user interface: 1. BehaelterSensorView 2. BehaeltertypView 3. SensortypView 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 BehaelterSensorView must contain the following fields: - name: Abfallbehaelter type: Abfallbehaelter - name: Installationsdatum type: DATE - name: IstAktiv type: BOOL - name: MeldetFuellstandOnline type: BOOL - name: Sensortyp type: Sensortyp - name: Verbindungstechnik type: STRING The data source for the [Abfallbehaelter] select control should be loaded from the relative URL: "/AbfallbehaelterService/abfallbehaelter" (HTTP-GET) The data source for the [Sensortyp] select control should be loaded from the relative URL: "/BehaeltertypService/sensortyp" (HTTP-GET) An existing BehaelterSensor entity should be loaded from the relative URL: "/BehaeltertypService/behaeltersensor/{id}" (HTTP-GET) If a new BehaelterSensor entity has been created, the new entity should be posted to the relative URL: "/BehaeltertypService/behaeltersensor" (HTTP-POST) If an existing BehaelterSensor entity has been updated, the modified entity should be sent to the relative URL: "/BehaeltertypService/behaeltersensor/{id}" (HTTP-PUT) If an existing BehaelterSensor entity has to be deleted, the following relative URL should be called: "/BehaeltertypService/behaeltersensor/{id}" (HTTP-DELETE) 2. The BehaeltertypView must contain the following fields: - name: Beschreibung type: STRING - name: IstHaushalt type: BOOL - name: IstHistorisch type: BOOL - name: IstOeffentlich type: BOOL - name: Name type: STRING An existing Behaeltertyp entity should be loaded from the relative URL: "/BehaeltertypService/behaeltertyp/{id}" (HTTP-GET) If a new Behaeltertyp entity has been created, the new entity should be posted to the relative URL: "/BehaeltertypService/behaeltertyp" (HTTP-POST) If an existing Behaeltertyp entity has been updated, the modified entity should be sent to the relative URL: "/BehaeltertypService/behaeltertyp/{id}" (HTTP-PUT) If an existing Behaeltertyp entity has to be deleted, the following relative URL should be called: "/BehaeltertypService/behaeltertyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfallbehaelter columns: - column: Energiequelle - column: VolumenLiter - column: IstEinweg - column: IstInnenbereich - column: Standort - column: IstOeffentlich - column: HatDeckel - column: IstSolarbetrieben - column: Name - column: IstUnterflur - column: Beschreibung - column: AusserbetriebnahmeDatum - column: Material - column: Sammelsystem - column: HatVerdichter - column: Verdichtungstechnik - column: Behaeltertyp - column: InbetriebnahmeDatum The table should have the title "Abfallbehaelters" und the data must be loaded from the server with the following relative URL: "/AbfallbehaelterService/abfallbehaelter/behaeltertyp/{id}" 3. The SensortypView must contain the following fields: - name: Beschreibung type: STRING - name: Einheit type: STRING - name: Name type: STRING An existing Sensortyp entity should be loaded from the relative URL: "/BehaeltertypService/sensortyp/{id}" (HTTP-GET) If a new Sensortyp entity has been created, the new entity should be posted to the relative URL: "/BehaeltertypService/sensortyp" (HTTP-POST) If an existing Sensortyp entity has been updated, the modified entity should be sent to the relative URL: "/BehaeltertypService/sensortyp/{id}" (HTTP-PUT) If an existing Sensortyp entity has to be deleted, the following relative URL should be called: "/BehaeltertypService/sensortyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehaelterSensor columns: - column: MeldetFuellstandOnline - column: Sensortyp - column: Verbindungstechnik - column: Abfallbehaelter - column: IstAktiv - column: Installationsdatum The table should have the title "BehaelterSensors" und the data must be loaded from the server with the following relative URL: "/BehaeltertypService/behaeltersensor/sensortyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum