Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PartnerOrganisationApp
Please create a React-JS application for the PartnerOrganisationModule. The application has to offer the following views for the user interface: 1. AusgabeTeilnahmeView 2. AusgabeTerminView 3. PartnerOrganisationView 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 AusgabeTeilnahmeView must contain the following fields: - name: AusgabeTermin type: AusgabeTermin - name: GewichtErhaltenKg type: STRING - name: Haushalt type: Haushalt - name: Kostenbeitrag type: STRING - name: WarteschlangenNummer type: LONG The data source for the [Haushalt] select control should be loaded from the relative URL: "/LokaleTafelService/haushalt" (HTTP-GET) The data source for the [AusgabeTermin] select control should be loaded from the relative URL: "/PartnerOrganisationService/ausgabetermin" (HTTP-GET) An existing AusgabeTeilnahme entity should be loaded from the relative URL: "/PartnerOrganisationService/ausgabeteilnahme/{id}" (HTTP-GET) If a new AusgabeTeilnahme entity has been created, the new entity should be posted to the relative URL: "/PartnerOrganisationService/ausgabeteilnahme" (HTTP-POST) If an existing AusgabeTeilnahme entity has been updated, the modified entity should be sent to the relative URL: "/PartnerOrganisationService/ausgabeteilnahme/{id}" (HTTP-PUT) If an existing AusgabeTeilnahme entity has to be deleted, the following relative URL should be called: "/PartnerOrganisationService/ausgabeteilnahme/{id}" (HTTP-DELETE) 2. The AusgabeTerminView must contain the following fields: - name: Ausgabestelle type: Ausgabestelle - name: BisZeit type: STRING - name: Datum type: DATE - name: LokaleTafel type: LokaleTafel - name: MaxHaushalte type: LONG - name: Notizen type: STRING - name: VonZeit type: STRING The data source for the [Ausgabestelle] select control should be loaded from the relative URL: "/StandortService/ausgabestelle" (HTTP-GET) The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing AusgabeTermin entity should be loaded from the relative URL: "/PartnerOrganisationService/ausgabetermin/{id}" (HTTP-GET) If a new AusgabeTermin entity has been created, the new entity should be posted to the relative URL: "/PartnerOrganisationService/ausgabetermin" (HTTP-POST) If an existing AusgabeTermin entity has been updated, the modified entity should be sent to the relative URL: "/PartnerOrganisationService/ausgabetermin/{id}" (HTTP-PUT) If an existing AusgabeTermin entity has to be deleted, the following relative URL should be called: "/PartnerOrganisationService/ausgabetermin/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AusgabeTeilnahme columns: - column: AusgabeTermin - column: Haushalt - column: WarteschlangenNummer - column: Kostenbeitrag - column: GewichtErhaltenKg The table should have the title "AusgabeTeilnahmes" und the data must be loaded from the server with the following relative URL: "/PartnerOrganisationService/ausgabeteilnahme/ausgabetermin/{id}" 3. The PartnerOrganisationView must contain the following fields: - name: Adresse type: Adresse - name: AnsprechpartnerName type: STRING - name: Email type: STRING - name: Name type: STRING - name: Organisationstyp 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) An existing PartnerOrganisation entity should be loaded from the relative URL: "/PartnerOrganisationService/partnerorganisation/{id}" (HTTP-GET) If a new PartnerOrganisation entity has been created, the new entity should be posted to the relative URL: "/PartnerOrganisationService/partnerorganisation" (HTTP-POST) If an existing PartnerOrganisation entity has been updated, the modified entity should be sent to the relative URL: "/PartnerOrganisationService/partnerorganisation/{id}" (HTTP-PUT) If an existing PartnerOrganisation entity has to be deleted, the following relative URL should be called: "/PartnerOrganisationService/partnerorganisation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kooperationsvereinbarung columns: - column: Notizen - column: PartnerOrganisation - column: VereinbarungsTyp - column: SpenderOrganisation - column: LokaleTafel - column: Bundesverband - column: Titel - column: BisDatum - column: VonDatum The table should have the title "Kooperationsvereinbarungs" und the data must be loaded from the server with the following relative URL: "/AdresseService/kooperationsvereinbarung/partnerorganisation/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum