Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MarktgebietApp
Please create a React-JS application for the MarktgebietModule. The application has to offer the following views for the user interface: 1. KriegView 2. MarktgebietView 3. OrganisationMarktgebietView 4. VertragView 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 KriegView must contain the following fields: - name: Endjahr type: LONG - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG An existing Krieg entity should be loaded from the relative URL: "/MarktgebietService/krieg/{id}" (HTTP-GET) If a new Krieg entity has been created, the new entity should be posted to the relative URL: "/MarktgebietService/krieg" (HTTP-POST) If an existing Krieg entity has been updated, the modified entity should be sent to the relative URL: "/MarktgebietService/krieg/{id}" (HTTP-PUT) If an existing Krieg entity has to be deleted, the following relative URL should be called: "/MarktgebietService/krieg/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Ereignis columns: - column: Tag - column: Monat - column: Wirtschaftskrise - column: Land - column: Krieg - column: Ereignisart - column: Jahr - column: Beschreibung - column: Stadt - column: Name The table should have the title "Ereigniss" und the data must be loaded from the server with the following relative URL: "/LandService/ereignis/krieg/{id}" 2. The MarktgebietView must contain the following fields: - name: Endjahr type: LONG - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG An existing Marktgebiet entity should be loaded from the relative URL: "/MarktgebietService/marktgebiet/{id}" (HTTP-GET) If a new Marktgebiet entity has been created, the new entity should be posted to the relative URL: "/MarktgebietService/marktgebiet" (HTTP-POST) If an existing Marktgebiet entity has been updated, the modified entity should be sent to the relative URL: "/MarktgebietService/marktgebiet/{id}" (HTTP-PUT) If an existing Marktgebiet entity has to be deleted, the following relative URL should be called: "/MarktgebietService/marktgebiet/{id}" (HTTP-DELETE) Add a HTML table to the view with the following OrganisationMarktgebiet columns: - column: Organisation - column: Marktgebiet - column: Startjahr - column: Notizen - column: Endjahr - column: Rolle The table should have the title "OrganisationMarktgebiets" und the data must be loaded from the server with the following relative URL: "/MarktgebietService/organisationmarktgebiet/marktgebiet/{id}" 3. The OrganisationMarktgebietView must contain the following fields: - name: Endjahr type: LONG - name: Marktgebiet type: Marktgebiet - name: Notizen type: STRING - name: Organisation type: Organisation - name: Rolle type: STRING - name: Startjahr type: LONG The data source for the [Marktgebiet] select control should be loaded from the relative URL: "/MarktgebietService/marktgebiet" (HTTP-GET) The data source for the [Organisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) An existing OrganisationMarktgebiet entity should be loaded from the relative URL: "/MarktgebietService/organisationmarktgebiet/{id}" (HTTP-GET) If a new OrganisationMarktgebiet entity has been created, the new entity should be posted to the relative URL: "/MarktgebietService/organisationmarktgebiet" (HTTP-POST) If an existing OrganisationMarktgebiet entity has been updated, the modified entity should be sent to the relative URL: "/MarktgebietService/organisationmarktgebiet/{id}" (HTTP-PUT) If an existing OrganisationMarktgebiet entity has to be deleted, the following relative URL should be called: "/MarktgebietService/organisationmarktgebiet/{id}" (HTTP-DELETE) 4. The VertragView must contain the following fields: - name: Endjahr type: LONG - name: KaeuferOrganisation type: Organisation - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG - name: VerkaeuferOrganisation type: Organisation - name: Vertragsart type: STRING - name: Vertragsdatum type: DATE - name: VolumenBcm type: STRING - name: Waehrung type: STRING - name: WertBetrag type: STRING The data source for the [KaeuferOrganisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) The data source for the [VerkaeuferOrganisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) An existing Vertrag entity should be loaded from the relative URL: "/MarktgebietService/vertrag/{id}" (HTTP-GET) If a new Vertrag entity has been created, the new entity should be posted to the relative URL: "/MarktgebietService/vertrag" (HTTP-POST) If an existing Vertrag entity has been updated, the modified entity should be sent to the relative URL: "/MarktgebietService/vertrag/{id}" (HTTP-PUT) If an existing Vertrag entity has to be deleted, the following relative URL should be called: "/MarktgebietService/vertrag/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum