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. MarktgebietView 2. OrganisationMarktgebietView 3. OrganisationsBeteiligungView 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 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: Marktgebiet - column: Notizen - column: Organisation - column: Startjahr - 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}" 2. 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: "/LandService/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) 3. The OrganisationsBeteiligungView must contain the following fields: - name: AnteilProzent type: STRING - name: Endjahr type: LONG - name: MutterOrganisation type: Organisation - name: Notizen type: STRING - name: Startjahr type: LONG - name: TochterOrganisation type: Organisation The data source for the [MutterOrganisation] select control should be loaded from the relative URL: "/LandService/organisation" (HTTP-GET) The data source for the [TochterOrganisation] select control should be loaded from the relative URL: "/LandService/organisation" (HTTP-GET) An existing OrganisationsBeteiligung entity should be loaded from the relative URL: "/MarktgebietService/organisationsbeteiligung/{id}" (HTTP-GET) If a new OrganisationsBeteiligung entity has been created, the new entity should be posted to the relative URL: "/MarktgebietService/organisationsbeteiligung" (HTTP-POST) If an existing OrganisationsBeteiligung entity has been updated, the modified entity should be sent to the relative URL: "/MarktgebietService/organisationsbeteiligung/{id}" (HTTP-PUT) If an existing OrganisationsBeteiligung entity has to be deleted, the following relative URL should be called: "/MarktgebietService/organisationsbeteiligung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum