Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VertragsartApp
Please create a React-JS application for the VertragsartModule. The application has to offer the following views for the user interface: 1. BehandlungsvertragView 2. SektoralerlaubnisartView 3. VertragsartView 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 BehandlungsvertragView must contain the following fields: - name: Behandlungsfall type: Behandlungsfall - name: DatumBeendigung type: DATE - name: DatumUnterschrift type: DATE - name: Gesetz type: Gesetz - name: Honorarvereinbarung type: STRING - name: NutztGebuehrenverzeichnis type: BOOL - name: NutztGoaeAnalog type: BOOL - name: UeberschreitetGebuehrenrahmen type: BOOL - name: Vertragsart type: Vertragsart - name: Vertragstext type: STRING The data source for the [Behandlungsfall] select control should be loaded from the relative URL: "/BehandlungsfallService/behandlungsfall" (HTTP-GET) The data source for the [Vertragsart] select control should be loaded from the relative URL: "/VertragsartService/vertragsart" (HTTP-GET) The data source for the [Gesetz] select control should be loaded from the relative URL: "/GesetzService/gesetz" (HTTP-GET) An existing Behandlungsvertrag entity should be loaded from the relative URL: "/VertragsartService/behandlungsvertrag/{id}" (HTTP-GET) If a new Behandlungsvertrag entity has been created, the new entity should be posted to the relative URL: "/VertragsartService/behandlungsvertrag" (HTTP-POST) If an existing Behandlungsvertrag entity has been updated, the modified entity should be sent to the relative URL: "/VertragsartService/behandlungsvertrag/{id}" (HTTP-PUT) If an existing Behandlungsvertrag entity has to be deleted, the following relative URL should be called: "/VertragsartService/behandlungsvertrag/{id}" (HTTP-DELETE) 2. The SektoralerlaubnisartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Sektoralerlaubnisart entity should be loaded from the relative URL: "/VertragsartService/sektoralerlaubnisart/{id}" (HTTP-GET) If a new Sektoralerlaubnisart entity has been created, the new entity should be posted to the relative URL: "/VertragsartService/sektoralerlaubnisart" (HTTP-POST) If an existing Sektoralerlaubnisart entity has been updated, the modified entity should be sent to the relative URL: "/VertragsartService/sektoralerlaubnisart/{id}" (HTTP-PUT) If an existing Sektoralerlaubnisart entity has to be deleted, the following relative URL should be called: "/VertragsartService/sektoralerlaubnisart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Erlaubnis columns: - column: Ablaufdatum - column: Sektoralerlaubnisart - column: Hinweise - column: Person - column: Erlaubnistyp - column: IstWiderrufen - column: Beruf - column: Erlaubnisnummer - column: Ausstellungsdatum - column: Land - column: Widerrufsdatum - column: Gesetz - column: Behoerde The table should have the title "Erlaubniss" und the data must be loaded from the server with the following relative URL: "/BerufService/erlaubnis/sektoralerlaubnisart/{id}" 3. The VertragsartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Vertragsart entity should be loaded from the relative URL: "/VertragsartService/vertragsart/{id}" (HTTP-GET) If a new Vertragsart entity has been created, the new entity should be posted to the relative URL: "/VertragsartService/vertragsart" (HTTP-POST) If an existing Vertragsart entity has been updated, the modified entity should be sent to the relative URL: "/VertragsartService/vertragsart/{id}" (HTTP-PUT) If an existing Vertragsart entity has to be deleted, the following relative URL should be called: "/VertragsartService/vertragsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsvertrag columns: - column: Vertragstext - column: Vertragsart - column: Gesetz - column: Behandlungsfall - column: Honorarvereinbarung - column: DatumUnterschrift - column: NutztGoaeAnalog - column: UeberschreitetGebuehrenrahmen - column: DatumBeendigung - column: NutztGebuehrenverzeichnis The table should have the title "Behandlungsvertrags" und the data must be loaded from the server with the following relative URL: "/VertragsartService/behandlungsvertrag/vertragsart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum