Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EntfernungspunktApp
Please create a React-JS application for the EntfernungspunktModule. The application has to offer the following views for the user interface: 1. EntfernungspunktView 2. SuchfilterAusstattungView 3. UnterkunftEntfernungView 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 EntfernungspunktView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Erstellzeitpunkt type: DATE - name: Kategorie type: STRING - name: Name type: STRING An existing Entfernungspunkt entity should be loaded from the relative URL: "/EntfernungspunktService/entfernungspunkt/{id}" (HTTP-GET) If a new Entfernungspunkt entity has been created, the new entity should be posted to the relative URL: "/EntfernungspunktService/entfernungspunkt" (HTTP-POST) If an existing Entfernungspunkt entity has been updated, the modified entity should be sent to the relative URL: "/EntfernungspunktService/entfernungspunkt/{id}" (HTTP-PUT) If an existing Entfernungspunkt entity has to be deleted, the following relative URL should be called: "/EntfernungspunktService/entfernungspunkt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UnterkunftEntfernung columns: - column: EntfernungMinutenZuFuss - column: Unterkunft - column: Entfernungspunkt - column: EntfernungMeter - column: Erstellzeitpunkt - column: EntfernungMinutenAuto The table should have the title "UnterkunftEntfernungs" und the data must be loaded from the server with the following relative URL: "/EntfernungspunktService/unterkunftentfernung/entfernungspunkt/{id}" 2. The SuchfilterAusstattungView must contain the following fields: - name: Ausstattung type: Ausstattung - name: Erstellzeitpunkt type: DATE - name: Suchanfrage type: Suchanfrage The data source for the [Suchanfrage] select control should be loaded from the relative URL: "/GastService/suchanfrage" (HTTP-GET) The data source for the [Ausstattung] select control should be loaded from the relative URL: "/UnterkunftService/ausstattung" (HTTP-GET) An existing SuchfilterAusstattung entity should be loaded from the relative URL: "/EntfernungspunktService/suchfilterausstattung/{id}" (HTTP-GET) If a new SuchfilterAusstattung entity has been created, the new entity should be posted to the relative URL: "/EntfernungspunktService/suchfilterausstattung" (HTTP-POST) If an existing SuchfilterAusstattung entity has been updated, the modified entity should be sent to the relative URL: "/EntfernungspunktService/suchfilterausstattung/{id}" (HTTP-PUT) If an existing SuchfilterAusstattung entity has to be deleted, the following relative URL should be called: "/EntfernungspunktService/suchfilterausstattung/{id}" (HTTP-DELETE) 3. The UnterkunftEntfernungView must contain the following fields: - name: EntfernungMeter type: LONG - name: EntfernungMinutenAuto type: LONG - name: EntfernungMinutenZuFuss type: LONG - name: Entfernungspunkt type: Entfernungspunkt - name: Erstellzeitpunkt type: DATE - name: Unterkunft type: Unterkunft The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) The data source for the [Entfernungspunkt] select control should be loaded from the relative URL: "/EntfernungspunktService/entfernungspunkt" (HTTP-GET) An existing UnterkunftEntfernung entity should be loaded from the relative URL: "/EntfernungspunktService/unterkunftentfernung/{id}" (HTTP-GET) If a new UnterkunftEntfernung entity has been created, the new entity should be posted to the relative URL: "/EntfernungspunktService/unterkunftentfernung" (HTTP-POST) If an existing UnterkunftEntfernung entity has been updated, the modified entity should be sent to the relative URL: "/EntfernungspunktService/unterkunftentfernung/{id}" (HTTP-PUT) If an existing UnterkunftEntfernung entity has to be deleted, the following relative URL should be called: "/EntfernungspunktService/unterkunftentfernung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum