Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TerminView
Please create a React-JS view called "TerminView" for the fields of the Termin entity. The TerminView must contain the following fields: - name: Arzt type: Arzt - name: DauerMinuten type: INT - name: IstTelemedizin type: BOOL - name: Patient type: Patient - name: Praxis type: Praxis - name: Status type: STRING - name: Terminzeit type: DATE The data source for the [Arzt] select control should be loaded from the relative URL: "/PersonService/arzt" (HTTP-GET) The data source for the [Patient] select control should be loaded from the relative URL: "/PatientService/patient" (HTTP-GET) The data source for the [Praxis] select control should be loaded from the relative URL: "/PraxisService/praxis" (HTTP-GET) An existing Termin entity should be loaded from the relative URL: "/PersonService/termin/{id}" (HTTP-GET) If a new Termin entity has been created, the new entity should be posted to the relative URL: "/PersonService/termin" (HTTP-POST) If an existing Termin entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/termin/{id}" (HTTP-PUT) If an existing Termin entity has to be deleted, the following relative URL should be called: "/PersonService/termin/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlung columns: - column: Notizen - column: Praxis - column: Arzt - column: Termin - column: Patient - column: Behandlungsart - column: Behandlungszeit The table should have the title "Behandlungs" und the data must be loaded from the server with the following relative URL: "/PatientService/behandlung/termin/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum