Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
OrtApp
Please create a React-JS application for the OrtModule. The application has to offer the following views for the user interface: 1. OrtView 2. PflegedienstStandortView 3. PflegedienstZulassungView 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 OrtView must contain the following fields: - name: Adresszusatz type: STRING - name: Breitengrad type: STRING - name: Hausnummer type: STRING - name: Laengengrad type: STRING - name: Land type: STRING - name: Postleitzahl type: STRING - name: Stadt type: STRING - name: Strasse type: STRING An existing Ort entity should be loaded from the relative URL: "/OrtService/ort/{id}" (HTTP-GET) If a new Ort entity has been created, the new entity should be posted to the relative URL: "/OrtService/ort" (HTTP-POST) If an existing Ort entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/ort/{id}" (HTTP-PUT) If an existing Ort entity has to be deleted, the following relative URL should be called: "/OrtService/ort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Versicherung columns: - column: EMailAdresse - column: Versicherungstyp - column: AbrechnungsportalUrl - column: Kurzname - column: OffiziellerName - column: Ort - column: Telefonnummer The table should have the title "Versicherungs" und the data must be loaded from the server with the following relative URL: "/VersicherungService/versicherung/ort/{id}" Add a HTML table to the view with the following PflegedienstStandort columns: - column: EMailAdresse - column: IstHauptstandort - column: Standortname - column: Pflegedienst - column: Ort - column: IstAktiv - column: Telefonnummer The table should have the title "PflegedienstStandorts" und the data must be loaded from the server with the following relative URL: "/OrtService/pflegedienststandort/ort/{id}" 2. The PflegedienstStandortView must contain the following fields: - name: EMailAdresse type: STRING - name: IstAktiv type: BOOL - name: IstHauptstandort type: BOOL - name: Ort type: Ort - name: Pflegedienst type: Pflegedienst - name: Standortname type: STRING - name: Telefonnummer type: STRING The data source for the [Ort] select control should be loaded from the relative URL: "/OrtService/ort" (HTTP-GET) The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) An existing PflegedienstStandort entity should be loaded from the relative URL: "/OrtService/pflegedienststandort/{id}" (HTTP-GET) If a new PflegedienstStandort entity has been created, the new entity should be posted to the relative URL: "/OrtService/pflegedienststandort" (HTTP-POST) If an existing PflegedienstStandort entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/pflegedienststandort/{id}" (HTTP-PUT) If an existing PflegedienstStandort entity has to be deleted, the following relative URL should be called: "/OrtService/pflegedienststandort/{id}" (HTTP-DELETE) 3. The PflegedienstZulassungView must contain the following fields: - name: Bemerkung type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Pflegedienst type: Pflegedienst - name: Zulassungsnummer type: STRING - name: Zulassungstyp type: STRING - name: ZustaendigeBehoerde type: STRING The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) An existing PflegedienstZulassung entity should be loaded from the relative URL: "/OrtService/pflegedienstzulassung/{id}" (HTTP-GET) If a new PflegedienstZulassung entity has been created, the new entity should be posted to the relative URL: "/OrtService/pflegedienstzulassung" (HTTP-POST) If an existing PflegedienstZulassung entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/pflegedienstzulassung/{id}" (HTTP-PUT) If an existing PflegedienstZulassung entity has to be deleted, the following relative URL should be called: "/OrtService/pflegedienstzulassung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum