Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VerbandApp
Please create a React-JS application for the VerbandModule. The application has to offer the following views for the user interface: 1. VerbandView 2. VerbandsmitgliedschaftView 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 VerbandView must contain the following fields: - name: Akronym type: STRING - name: Beschreibung type: STRING - name: IstDachverband type: BOOL - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Verband entity should be loaded from the relative URL: "/VerbandService/verband/{id}" (HTTP-GET) If a new Verband entity has been created, the new entity should be posted to the relative URL: "/VerbandService/verband" (HTTP-POST) If an existing Verband entity has been updated, the modified entity should be sent to the relative URL: "/VerbandService/verband/{id}" (HTTP-PUT) If an existing Verband entity has to be deleted, the following relative URL should be called: "/VerbandService/verband/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Verbandsmitgliedschaft columns: - column: Beginn - column: Person - column: IstAktiv - column: Ende - column: Verband - column: Mitgliedsnummer The table should have the title "Verbandsmitgliedschafts" und the data must be loaded from the server with the following relative URL: "/VerbandService/verbandsmitgliedschaft/verband/{id}" 2. The VerbandsmitgliedschaftView must contain the following fields: - name: Beginn type: DATE - name: Ende type: DATE - name: IstAktiv type: BOOL - name: Mitgliedsnummer type: STRING - name: Person type: Person - name: Verband type: Verband The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) The data source for the [Verband] select control should be loaded from the relative URL: "/VerbandService/verband" (HTTP-GET) An existing Verbandsmitgliedschaft entity should be loaded from the relative URL: "/VerbandService/verbandsmitgliedschaft/{id}" (HTTP-GET) If a new Verbandsmitgliedschaft entity has been created, the new entity should be posted to the relative URL: "/VerbandService/verbandsmitgliedschaft" (HTTP-POST) If an existing Verbandsmitgliedschaft entity has been updated, the modified entity should be sent to the relative URL: "/VerbandService/verbandsmitgliedschaft/{id}" (HTTP-PUT) If an existing Verbandsmitgliedschaft entity has to be deleted, the following relative URL should be called: "/VerbandService/verbandsmitgliedschaft/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum