Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WerkstattApp
Please create a React-JS application for the WerkstattModule. The application has to offer the following views for the user interface: 1. MassnahmeView 2. MassnahmeartView 3. WerkstattView 4. WerkstattbereichView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The MassnahmeView must contain the following fields: - name: Beschreibung type: STRING - name: Enddatum type: DATE - name: Massnahmeart type: Massnahmeart - name: Name type: STRING - name: Startdatum type: DATE - name: Werkstattbereich type: Werkstattbereich The data source for the [Werkstattbereich] select control should be loaded from the relative URL: "/WerkstattService/werkstattbereich" (HTTP-GET) The data source for the [Massnahmeart] select control should be loaded from the relative URL: "/WerkstattService/massnahmeart" (HTTP-GET) An existing Massnahme entity should be loaded from the relative URL: "/WerkstattService/massnahme/{id}" (HTTP-GET) If a new Massnahme entity has been created, the new entity should be posted to the relative URL: "/WerkstattService/massnahme" (HTTP-POST) If an existing Massnahme entity has been updated, the modified entity should be sent to the relative URL: "/WerkstattService/massnahme/{id}" (HTTP-PUT) If an existing Massnahme entity has to be deleted, the following relative URL should be called: "/WerkstattService/massnahme/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Teilnahme columns: - column: TeilnehmendePerson - column: Massnahme - column: Ergebnis - column: VonDatum - column: BisDatum The table should have the title "Teilnahmes" und the data must be loaded from the server with the following relative URL: "/TeilnehmendePersonService/teilnahme/massnahme/{id}" 2. The MassnahmeartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Massnahmeart entity should be loaded from the relative URL: "/WerkstattService/massnahmeart/{id}" (HTTP-GET) If a new Massnahmeart entity has been created, the new entity should be posted to the relative URL: "/WerkstattService/massnahmeart" (HTTP-POST) If an existing Massnahmeart entity has been updated, the modified entity should be sent to the relative URL: "/WerkstattService/massnahmeart/{id}" (HTTP-PUT) If an existing Massnahmeart entity has to be deleted, the following relative URL should be called: "/WerkstattService/massnahmeart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Massnahme columns: - column: Enddatum - column: Massnahmeart - column: Startdatum - column: Werkstattbereich - column: Name - column: Beschreibung The table should have the title "Massnahmes" und the data must be loaded from the server with the following relative URL: "/WerkstattService/massnahme/massnahmeart/{id}" 3. The WerkstattView must contain the following fields: - name: Beschreibung type: STRING - name: Bundesland type: Bundesland - name: Gruendungsjahr type: LONG - name: Haupttraeger type: Traegerorganisation - name: Kurzname type: STRING - name: Land type: Land - name: MitgliedBagWfbm type: BOOL - name: MitgliedEaspd type: BOOL - name: Name type: STRING - name: Rechtsgrundlage type: Rechtsgrundlage The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/RechtsgrundlageService/rechtsgrundlage" (HTTP-GET) The data source for the [Bundesland] select control should be loaded from the relative URL: "/LandService/bundesland" (HTTP-GET) The data source for the [Haupttraeger] select control should be loaded from the relative URL: "/LandService/traegerorganisation" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Werkstatt entity should be loaded from the relative URL: "/WerkstattService/werkstatt/{id}" (HTTP-GET) If a new Werkstatt entity has been created, the new entity should be posted to the relative URL: "/WerkstattService/werkstatt" (HTTP-POST) If an existing Werkstatt entity has been updated, the modified entity should be sent to the relative URL: "/WerkstattService/werkstatt/{id}" (HTTP-PUT) If an existing Werkstatt entity has to be deleted, the following relative URL should be called: "/WerkstattService/werkstatt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WerkstattTraegerzuordnung columns: - column: Rolle - column: Traeger - column: GueltigVon - column: GueltigBis - column: Werkstatt The table should have the title "WerkstattTraegerzuordnungs" und the data must be loaded from the server with the following relative URL: "/BehinderungsartService/werkstatttraegerzuordnung/werkstatt/{id}" Add a HTML table to the view with the following WerkstattVerbandsmitgliedschaft columns: - column: MitgliedVon - column: Verband - column: MitgliedBis - column: Werkstatt - column: Mitgliedsart The table should have the title "WerkstattVerbandsmitgliedschafts" und the data must be loaded from the server with the following relative URL: "/VerbandService/werkstattverbandsmitgliedschaft/werkstatt/{id}" Add a HTML table to the view with the following Werkstattangebot columns: - column: Angebotstyp - column: Beschreibung - column: RelevantAuslagerung - column: Werkstatt - column: Name The table should have the title "Werkstattangebots" und the data must be loaded from the server with the following relative URL: "/VerbandService/werkstattangebot/werkstatt/{id}" Add a HTML table to the view with the following TeilnehmendePerson columns: - column: GradDerBehinderung - column: Status - column: Werkstatt - column: Eintrittsdatum - column: Austrittsdatum - column: Person - column: AnerkanntSchwerbehindert The table should have the title "TeilnehmendePersons" und the data must be loaded from the server with the following relative URL: "/TeilnehmendePersonService/teilnehmendeperson/werkstatt/{id}" Add a HTML table to the view with the following Interessenvertretung columns: - column: Werkstatt - column: Amtsende - column: Gremiumstyp - column: Amtsbeginn The table should have the title "Interessenvertretungs" und the data must be loaded from the server with the following relative URL: "/PersonService/interessenvertretung/werkstatt/{id}" Add a HTML table to the view with the following MitarbeitendePerson columns: - column: BeschaeftigtVon - column: Person - column: Rolle - column: Werkstatt - column: BeschaeftigtBis The table should have the title "MitarbeitendePersons" und the data must be loaded from the server with the following relative URL: "/PersonService/mitarbeitendeperson/werkstatt/{id}" Add a HTML table to the view with the following Werkstattbereich columns: - column: Werkstatt - column: Kapazitaet - column: Beschreibung - column: Name - column: Bereichstyp The table should have the title "Werkstattbereichs" und the data must be loaded from the server with the following relative URL: "/WerkstattService/werkstattbereich/werkstatt/{id}" Add a HTML table to the view with the following ExterneEinsatzstelle columns: - column: VonDatum - column: Ort - column: Werkstatt - column: Einsatztyp - column: BisDatum - column: TeilnehmendePerson - column: Branche - column: Firmenname The table should have the title "ExterneEinsatzstelles" und the data must be loaded from the server with the following relative URL: "/TeilnehmendePersonService/externeeinsatzstelle/werkstatt/{id}" 4. The WerkstattbereichView must contain the following fields: - name: Bereichstyp type: STRING - name: Beschreibung type: STRING - name: Kapazitaet type: LONG - name: Name type: STRING - name: Werkstatt type: Werkstatt The data source for the [Werkstatt] select control should be loaded from the relative URL: "/WerkstattService/werkstatt" (HTTP-GET) An existing Werkstattbereich entity should be loaded from the relative URL: "/WerkstattService/werkstattbereich/{id}" (HTTP-GET) If a new Werkstattbereich entity has been created, the new entity should be posted to the relative URL: "/WerkstattService/werkstattbereich" (HTTP-POST) If an existing Werkstattbereich entity has been updated, the modified entity should be sent to the relative URL: "/WerkstattService/werkstattbereich/{id}" (HTTP-PUT) If an existing Werkstattbereich entity has to be deleted, the following relative URL should be called: "/WerkstattService/werkstattbereich/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Massnahme columns: - column: Enddatum - column: Massnahmeart - column: Startdatum - column: Werkstattbereich - column: Name - column: Beschreibung The table should have the title "Massnahmes" und the data must be loaded from the server with the following relative URL: "/WerkstattService/massnahme/werkstattbereich/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum