Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StandortApp
Please create a React-JS application for the StandortModule. The application has to offer the following views for the user interface: 1. AusgabestelleView 2. OeffnungszeitView 3. StadtView 4. StandortView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AusgabestelleView must contain the following fields: - name: AusgabeTyp type: STRING - name: MaxHaushalteProTag type: LONG - name: Standort type: Standort The data source for the [Standort] select control should be loaded from the relative URL: "/StandortService/standort" (HTTP-GET) An existing Ausgabestelle entity should be loaded from the relative URL: "/StandortService/ausgabestelle/{id}" (HTTP-GET) If a new Ausgabestelle entity has been created, the new entity should be posted to the relative URL: "/StandortService/ausgabestelle" (HTTP-POST) If an existing Ausgabestelle entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/ausgabestelle/{id}" (HTTP-PUT) If an existing Ausgabestelle entity has to be deleted, the following relative URL should be called: "/StandortService/ausgabestelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AusgabeTermin columns: - column: MaxHaushalte - column: LokaleTafel - column: Datum - column: VonZeit - column: Notizen - column: BisZeit - column: Ausgabestelle The table should have the title "AusgabeTermins" und the data must be loaded from the server with the following relative URL: "/PartnerOrganisationService/ausgabetermin/ausgabestelle/{id}" Add a HTML table to the view with the following Einsatz columns: - column: BisDatum - column: Route - column: EinsatzTyp - column: Lager - column: VonDatum - column: Ausgabestelle - column: Ehrenamtlicher The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/EhrenamtlicherService/einsatz/ausgabestelle/{id}" 2. The OeffnungszeitView must contain the following fields: - name: BisZeit type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Standort type: Standort - name: VonZeit type: STRING - name: Wochentag type: LONG The data source for the [Standort] select control should be loaded from the relative URL: "/StandortService/standort" (HTTP-GET) An existing Oeffnungszeit entity should be loaded from the relative URL: "/StandortService/oeffnungszeit/{id}" (HTTP-GET) If a new Oeffnungszeit entity has been created, the new entity should be posted to the relative URL: "/StandortService/oeffnungszeit" (HTTP-POST) If an existing Oeffnungszeit entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/oeffnungszeit/{id}" (HTTP-PUT) If an existing Oeffnungszeit entity has to be deleted, the following relative URL should be called: "/StandortService/oeffnungszeit/{id}" (HTTP-DELETE) 3. The StadtView must contain the following fields: - name: Bundesland type: STRING - name: Name type: STRING An existing Stadt entity should be loaded from the relative URL: "/StandortService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/StandortService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/StandortService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Adresse columns: - column: Strasse - column: Zusatz - column: Stadt - column: Postleitzahl - column: Hausnummer The table should have the title "Adresses" und the data must be loaded from the server with the following relative URL: "/AdresseService/adresse/stadt/{id}" 4. The StandortView must contain the following fields: - name: Adresse type: Adresse - name: Bezeichnung type: STRING - name: Email type: STRING - name: LokaleTafel type: LokaleTafel - name: StandortTyp type: STRING - name: Telefon type: STRING The data source for the [Adresse] select control should be loaded from the relative URL: "/AdresseService/adresse" (HTTP-GET) The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing Standort entity should be loaded from the relative URL: "/StandortService/standort/{id}" (HTTP-GET) If a new Standort entity has been created, the new entity should be posted to the relative URL: "/StandortService/standort" (HTTP-POST) If an existing Standort entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/standort/{id}" (HTTP-PUT) If an existing Standort entity has to be deleted, the following relative URL should be called: "/StandortService/standort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Oeffnungszeit columns: - column: BisZeit - column: Wochentag - column: GueltigVon - column: GueltigBis - column: Standort - column: VonZeit The table should have the title "Oeffnungszeits" und the data must be loaded from the server with the following relative URL: "/StandortService/oeffnungszeit/standort/{id}" Add a HTML table to the view with the following Lager columns: - column: TemperaturzonenBeschreibung - column: KapazitaetKubikmeter - column: Standort The table should have the title "Lagers" und the data must be loaded from the server with the following relative URL: "/LagerService/lager/standort/{id}" Add a HTML table to the view with the following Ausgabestelle columns: - column: AusgabeTyp - column: Standort - column: MaxHaushalteProTag The table should have the title "Ausgabestelles" und the data must be loaded from the server with the following relative URL: "/StandortService/ausgabestelle/standort/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum