Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BeschaeftigungssektorApp
Please create a React-JS application for the BeschaeftigungssektorModule. The application has to offer the following views for the user interface: 1. BeschaeftigungssektorView 2. BeschaeftigungsStatistikView 3. LogistikUnternehmenView 4. VerkehrsmodusView 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 BeschaeftigungssektorView must contain the following fields: - name: Code type: STRING - name: IstLogistikSpezifisch type: BOOL - name: Name type: STRING An existing Beschaeftigungssektor entity should be loaded from the relative URL: "/BeschaeftigungssektorService/beschaeftigungssektor/{id}" (HTTP-GET) If a new Beschaeftigungssektor entity has been created, the new entity should be posted to the relative URL: "/BeschaeftigungssektorService/beschaeftigungssektor" (HTTP-POST) If an existing Beschaeftigungssektor entity has been updated, the modified entity should be sent to the relative URL: "/BeschaeftigungssektorService/beschaeftigungssektor/{id}" (HTTP-PUT) If an existing Beschaeftigungssektor entity has to be deleted, the following relative URL should be called: "/BeschaeftigungssektorService/beschaeftigungssektor/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BeschaeftigungsStatistik columns: - column: Studie - column: AnteilLogistikSektorProzent - column: Region - column: Beschaeftigungssektor - column: Jahr - column: BeschaeftigteLogistikBerufe - column: AnteilLogistikBerufeProzent - column: BeschaeftigteLogistikSektor - column: Quelle - column: OffeneStellen - column: BeschaeftigteGesamt The table should have the title "BeschaeftigungsStatistiks" und the data must be loaded from the server with the following relative URL: "/BeschaeftigungssektorService/beschaeftigungsstatistik/beschaeftigungssektor/{id}" 2. The BeschaeftigungsStatistikView must contain the following fields: - name: AnteilLogistikBerufeProzent type: STRING - name: AnteilLogistikSektorProzent type: STRING - name: BeschaeftigteGesamt type: LONG - name: BeschaeftigteLogistikBerufe type: LONG - name: BeschaeftigteLogistikSektor type: LONG - name: Beschaeftigungssektor type: Beschaeftigungssektor - name: Jahr type: LONG - name: OffeneStellen type: LONG - name: Quelle type: STRING - name: Region type: STRING - name: Studie type: Studie The data source for the [Studie] select control should be loaded from the relative URL: "/StudieService/studie" (HTTP-GET) The data source for the [Beschaeftigungssektor] select control should be loaded from the relative URL: "/BeschaeftigungssektorService/beschaeftigungssektor" (HTTP-GET) An existing BeschaeftigungsStatistik entity should be loaded from the relative URL: "/BeschaeftigungssektorService/beschaeftigungsstatistik/{id}" (HTTP-GET) If a new BeschaeftigungsStatistik entity has been created, the new entity should be posted to the relative URL: "/BeschaeftigungssektorService/beschaeftigungsstatistik" (HTTP-POST) If an existing BeschaeftigungsStatistik entity has been updated, the modified entity should be sent to the relative URL: "/BeschaeftigungssektorService/beschaeftigungsstatistik/{id}" (HTTP-PUT) If an existing BeschaeftigungsStatistik entity has to be deleted, the following relative URL should be called: "/BeschaeftigungssektorService/beschaeftigungsstatistik/{id}" (HTTP-DELETE) 3. The LogistikUnternehmenView must contain the following fields: - name: GroessenKlasse type: STRING - name: IstIntegrator type: BOOL - name: IstTop20 type: BOOL - name: Name type: STRING - name: SektorBeschreibung type: STRING - name: SitzLand type: STRING - name: SitzOrt type: STRING An existing LogistikUnternehmen entity should be loaded from the relative URL: "/BeschaeftigungssektorService/logistikunternehmen/{id}" (HTTP-GET) If a new LogistikUnternehmen entity has been created, the new entity should be posted to the relative URL: "/BeschaeftigungssektorService/logistikunternehmen" (HTTP-POST) If an existing LogistikUnternehmen entity has been updated, the modified entity should be sent to the relative URL: "/BeschaeftigungssektorService/logistikunternehmen/{id}" (HTTP-PUT) If an existing LogistikUnternehmen entity has to be deleted, the following relative URL should be called: "/BeschaeftigungssektorService/logistikunternehmen/{id}" (HTTP-DELETE) 4. The VerkehrsmodusView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Verkehrsmodus entity should be loaded from the relative URL: "/BeschaeftigungssektorService/verkehrsmodus/{id}" (HTTP-GET) If a new Verkehrsmodus entity has been created, the new entity should be posted to the relative URL: "/BeschaeftigungssektorService/verkehrsmodus" (HTTP-POST) If an existing Verkehrsmodus entity has been updated, the modified entity should be sent to the relative URL: "/BeschaeftigungssektorService/verkehrsmodus/{id}" (HTTP-PUT) If an existing Verkehrsmodus entity has to be deleted, the following relative URL should be called: "/BeschaeftigungssektorService/verkehrsmodus/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerkehrsStatistik columns: - column: MengePassagiere - column: Studie - column: Schiffsanlaeufe - column: Wasserstrasse - column: Region - column: Jahr - column: MengeFahrzeuge - column: Verkehrsmodus - column: Quelle - column: MengeTonnen - column: MengeTeu - column: Beschreibung The table should have the title "VerkehrsStatistiks" und the data must be loaded from the server with the following relative URL: "/StudieService/verkehrsstatistik/verkehrsmodus/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum