Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EntgeltzahlungApp
Please create a React-JS application for the EntgeltzahlungModule. The application has to offer the following views for the user interface: 1. EntgeltzahlungView 2. EntgeltzahlungsbestandteilView 3. GesundheitsmassnahmeView 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 EntgeltzahlungView must contain the following fields: - name: BisDatum type: DATE - name: Gesamtbetrag type: STRING - name: TeilnehmendePerson type: TeilnehmendePerson - name: VonDatum type: DATE The data source for the [TeilnehmendePerson] select control should be loaded from the relative URL: "/TeilnehmendePersonService/teilnehmendeperson" (HTTP-GET) An existing Entgeltzahlung entity should be loaded from the relative URL: "/EntgeltzahlungService/entgeltzahlung/{id}" (HTTP-GET) If a new Entgeltzahlung entity has been created, the new entity should be posted to the relative URL: "/EntgeltzahlungService/entgeltzahlung" (HTTP-POST) If an existing Entgeltzahlung entity has been updated, the modified entity should be sent to the relative URL: "/EntgeltzahlungService/entgeltzahlung/{id}" (HTTP-PUT) If an existing Entgeltzahlung entity has to be deleted, the following relative URL should be called: "/EntgeltzahlungService/entgeltzahlung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Entgeltzahlungsbestandteil columns: - column: Entgeltbestandteil - column: Entgeltzahlung - column: Betrag The table should have the title "Entgeltzahlungsbestandteils" und the data must be loaded from the server with the following relative URL: "/EntgeltzahlungService/entgeltzahlungsbestandteil/entgeltzahlung/{id}" 2. The EntgeltzahlungsbestandteilView must contain the following fields: - name: Betrag type: STRING - name: Entgeltbestandteil type: Entgeltbestandteil - name: Entgeltzahlung type: Entgeltzahlung The data source for the [Entgeltzahlung] select control should be loaded from the relative URL: "/EntgeltzahlungService/entgeltzahlung" (HTTP-GET) The data source for the [Entgeltbestandteil] select control should be loaded from the relative URL: "/RechtsgrundlageService/entgeltbestandteil" (HTTP-GET) An existing Entgeltzahlungsbestandteil entity should be loaded from the relative URL: "/EntgeltzahlungService/entgeltzahlungsbestandteil/{id}" (HTTP-GET) If a new Entgeltzahlungsbestandteil entity has been created, the new entity should be posted to the relative URL: "/EntgeltzahlungService/entgeltzahlungsbestandteil" (HTTP-POST) If an existing Entgeltzahlungsbestandteil entity has been updated, the modified entity should be sent to the relative URL: "/EntgeltzahlungService/entgeltzahlungsbestandteil/{id}" (HTTP-PUT) If an existing Entgeltzahlungsbestandteil entity has to be deleted, the following relative URL should be called: "/EntgeltzahlungService/entgeltzahlungsbestandteil/{id}" (HTTP-DELETE) 3. The GesundheitsmassnahmeView must contain the following fields: - name: Anbieter type: STRING - name: Beschreibung type: STRING - name: BisDatum type: DATE - name: Name type: STRING - name: TeilnehmendePerson type: TeilnehmendePerson - name: VonDatum type: DATE The data source for the [TeilnehmendePerson] select control should be loaded from the relative URL: "/TeilnehmendePersonService/teilnehmendeperson" (HTTP-GET) An existing Gesundheitsmassnahme entity should be loaded from the relative URL: "/EntgeltzahlungService/gesundheitsmassnahme/{id}" (HTTP-GET) If a new Gesundheitsmassnahme entity has been created, the new entity should be posted to the relative URL: "/EntgeltzahlungService/gesundheitsmassnahme" (HTTP-POST) If an existing Gesundheitsmassnahme entity has been updated, the modified entity should be sent to the relative URL: "/EntgeltzahlungService/gesundheitsmassnahme/{id}" (HTTP-PUT) If an existing Gesundheitsmassnahme entity has to be deleted, the following relative URL should be called: "/EntgeltzahlungService/gesundheitsmassnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum