Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AusstattungApp
Please create a React-JS application for the AusstattungModule. The application has to offer the following views for the user interface: 1. AusstattungView 2. PraxisausstattungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The AusstattungView must contain the following fields: - name: IstMedizinprodukt type: BOOL - name: Kategorie type: STRING - name: Name type: STRING An existing Ausstattung entity should be loaded from the relative URL: "/AusstattungService/ausstattung/{id}" (HTTP-GET) If a new Ausstattung entity has been created, the new entity should be posted to the relative URL: "/AusstattungService/ausstattung" (HTTP-POST) If an existing Ausstattung entity has been updated, the modified entity should be sent to the relative URL: "/AusstattungService/ausstattung/{id}" (HTTP-PUT) If an existing Ausstattung entity has to be deleted, the following relative URL should be called: "/AusstattungService/ausstattung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Praxisausstattung columns: - column: IstTelematik - column: Praxis - column: Ausstattung - column: Anschaffungsdatum - column: Menge The table should have the title "Praxisausstattungs" und the data must be loaded from the server with the following relative URL: "/AusstattungService/praxisausstattung/ausstattung/{id}" 2. The PraxisausstattungView must contain the following fields: - name: Anschaffungsdatum type: DATE - name: Ausstattung type: Ausstattung - name: IstTelematik type: BOOL - name: Menge type: LONG - name: Praxis type: Praxis The data source for the [Ausstattung] select control should be loaded from the relative URL: "/AusstattungService/ausstattung" (HTTP-GET) The data source for the [Praxis] select control should be loaded from the relative URL: "/PraxisService/praxis" (HTTP-GET) An existing Praxisausstattung entity should be loaded from the relative URL: "/AusstattungService/praxisausstattung/{id}" (HTTP-GET) If a new Praxisausstattung entity has been created, the new entity should be posted to the relative URL: "/AusstattungService/praxisausstattung" (HTTP-POST) If an existing Praxisausstattung entity has been updated, the modified entity should be sent to the relative URL: "/AusstattungService/praxisausstattung/{id}" (HTTP-PUT) If an existing Praxisausstattung entity has to be deleted, the following relative URL should be called: "/AusstattungService/praxisausstattung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum