Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitgliedApp
Please create a React-JS application for the MitgliedModule. The application has to offer the following views for the user interface: 1. BereichView 2. KursBuchungView 3. MitgliedView 4. ZahlungView 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 BereichView must contain the following fields: - name: BereichsTyp type: STRING - name: FitnessStudio type: FitnessStudio - name: Name type: STRING The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) An existing Bereich entity should be loaded from the relative URL: "/MitgliedService/bereich/{id}" (HTTP-GET) If a new Bereich entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/bereich" (HTTP-POST) If an existing Bereich entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/bereich/{id}" (HTTP-PUT) If an existing Bereich entity has to be deleted, the following relative URL should be called: "/MitgliedService/bereich/{id}" (HTTP-DELETE) 2. The KursBuchungView must contain the following fields: - name: BuchungsZeit type: DATE - name: CheckInZeit type: DATE - name: KursEinheit type: KursEinheit - name: Mitglied type: Mitglied - name: Status type: STRING The data source for the [Mitglied] select control should be loaded from the relative URL: "/MitgliedService/mitglied" (HTTP-GET) The data source for the [KursEinheit] select control should be loaded from the relative URL: "/FitnessStudioService/kurseinheit" (HTTP-GET) An existing KursBuchung entity should be loaded from the relative URL: "/MitgliedService/kursbuchung/{id}" (HTTP-GET) If a new KursBuchung entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/kursbuchung" (HTTP-POST) If an existing KursBuchung entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/kursbuchung/{id}" (HTTP-PUT) If an existing KursBuchung entity has to be deleted, the following relative URL should be called: "/MitgliedService/kursbuchung/{id}" (HTTP-DELETE) 3. The MitgliedView must contain the following fields: - name: Email type: STRING - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: HeimStudio type: FitnessStudio - name: Land type: STRING - name: Nachname type: STRING - name: Postleitzahl type: STRING - name: Registrierungsdatum type: DATE - name: Stadt type: STRING - name: Status type: STRING - name: Strasse type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [HeimStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) An existing Mitglied entity should be loaded from the relative URL: "/MitgliedService/mitglied/{id}" (HTTP-GET) If a new Mitglied entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/mitglied" (HTTP-POST) If an existing Mitglied entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/mitglied/{id}" (HTTP-PUT) If an existing Mitglied entity has to be deleted, the following relative URL should be called: "/MitgliedService/mitglied/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MitgliedschaftsVertrag columns: - column: Mitglied - column: VertragsStatus - column: StartDatum - column: FitnessStudio - column: ZahlungsMethode - column: UnterzeichnetAm - column: MitgliedschaftsTyp - column: KuendigungsDatum - column: EndDatum The table should have the title "MitgliedschaftsVertrags" und the data must be loaded from the server with the following relative URL: "/MitgliedschaftsVertragService/mitgliedschaftsvertrag/mitglied/{id}" Add a HTML table to the view with the following Zahlung columns: - column: ZeitraumStart - column: IstErfolgreich - column: ZahlungsDatum - column: MitgliedschaftsVertrag - column: Mitglied - column: Betrag - column: ZeitraumEnde - column: ExterneReferenz - column: Waehrung - column: ZahlungsTyp - column: FitnessStudio The table should have the title "Zahlungs" und the data must be loaded from the server with the following relative URL: "/MitgliedService/zahlung/mitglied/{id}" Add a HTML table to the view with the following ServiceTermin columns: - column: Mitarbeiter - column: Notizen - column: StartZeit - column: Status - column: FitnessStudio - column: ServiceTyp - column: Mitglied - column: EndZeit The table should have the title "ServiceTermins" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/servicetermin/mitglied/{id}" Add a HTML table to the view with the following KursBuchung columns: - column: KursEinheit - column: Mitglied - column: Status - column: CheckInZeit - column: BuchungsZeit The table should have the title "KursBuchungs" und the data must be loaded from the server with the following relative URL: "/MitgliedService/kursbuchung/mitglied/{id}" 4. The ZahlungView must contain the following fields: - name: Betrag type: STRING - name: ExterneReferenz type: STRING - name: FitnessStudio type: FitnessStudio - name: IstErfolgreich type: BOOL - name: Mitglied type: Mitglied - name: MitgliedschaftsVertrag type: MitgliedschaftsVertrag - name: Waehrung type: STRING - name: ZahlungsDatum type: DATE - name: ZahlungsTyp type: STRING - name: ZeitraumEnde type: DATE - name: ZeitraumStart type: DATE The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) The data source for the [Mitglied] select control should be loaded from the relative URL: "/MitgliedService/mitglied" (HTTP-GET) The data source for the [MitgliedschaftsVertrag] select control should be loaded from the relative URL: "/MitgliedschaftsVertragService/mitgliedschaftsvertrag" (HTTP-GET) An existing Zahlung entity should be loaded from the relative URL: "/MitgliedService/zahlung/{id}" (HTTP-GET) If a new Zahlung entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/zahlung" (HTTP-POST) If an existing Zahlung entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/zahlung/{id}" (HTTP-PUT) If an existing Zahlung entity has to be deleted, the following relative URL should be called: "/MitgliedService/zahlung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum