Overview
Summary
Contact
Donate
Imprint
Prompt for the
JurisdictionApp
Please create a React-JS application for the JurisdictionModule. The application has to offer the following views for the user interface: 1. FineView 2. JurisdictionView 3. RegulationView 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 FineView must contain the following fields: - name: Amount type: DOUBLE - name: Company type: Company - name: Currency type: STRING - name: DecisionDate type: DATE - name: Description type: STRING - name: Jurisdiction type: Jurisdiction - name: Regulation type: Regulation The data source for the [Jurisdiction] select control should be loaded from the relative URL: "/JurisdictionService/jurisdiction" (HTTP-GET) The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Regulation] select control should be loaded from the relative URL: "/JurisdictionService/regulation" (HTTP-GET) An existing Fine entity should be loaded from the relative URL: "/JurisdictionService/fine/{id}" (HTTP-GET) If a new Fine entity has been created, the new entity should be posted to the relative URL: "/JurisdictionService/fine" (HTTP-POST) If an existing Fine entity has been updated, the modified entity should be sent to the relative URL: "/JurisdictionService/fine/{id}" (HTTP-PUT) If an existing Fine entity has to be deleted, the following relative URL should be called: "/JurisdictionService/fine/{id}" (HTTP-DELETE) 2. The JurisdictionView must contain the following fields: - name: Country type: Country - name: Level type: STRING - name: Name type: STRING - name: Notes type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Jurisdiction entity should be loaded from the relative URL: "/JurisdictionService/jurisdiction/{id}" (HTTP-GET) If a new Jurisdiction entity has been created, the new entity should be posted to the relative URL: "/JurisdictionService/jurisdiction" (HTTP-POST) If an existing Jurisdiction entity has been updated, the modified entity should be sent to the relative URL: "/JurisdictionService/jurisdiction/{id}" (HTTP-PUT) If an existing Jurisdiction entity has to be deleted, the following relative URL should be called: "/JurisdictionService/jurisdiction/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Regulation columns: - column: Jurisdiction - column: RegulationType - column: MaxFineAmount - column: Description - column: EffectiveTo - column: Name - column: EffectiveFrom The table should have the title "Regulations" und the data must be loaded from the server with the following relative URL: "/JurisdictionService/regulation/jurisdiction/{id}" Add a HTML table to the view with the following TaxCase columns: - column: Status - column: EndDate - column: Description - column: Currency - column: StartDate - column: AmountAssessed - column: Company - column: Jurisdiction The table should have the title "TaxCases" und the data must be loaded from the server with the following relative URL: "/BookingService/taxcase/jurisdiction/{id}" Add a HTML table to the view with the following Fine columns: - column: Regulation - column: Jurisdiction - column: Currency - column: Amount - column: DecisionDate - column: Description - column: Company The table should have the title "Fines" und the data must be loaded from the server with the following relative URL: "/JurisdictionService/fine/jurisdiction/{id}" 3. The RegulationView must contain the following fields: - name: Description type: STRING - name: EffectiveFrom type: DATE - name: EffectiveTo type: DATE - name: Jurisdiction type: Jurisdiction - name: MaxFineAmount type: DOUBLE - name: Name type: STRING - name: RegulationType type: STRING The data source for the [Jurisdiction] select control should be loaded from the relative URL: "/JurisdictionService/jurisdiction" (HTTP-GET) An existing Regulation entity should be loaded from the relative URL: "/JurisdictionService/regulation/{id}" (HTTP-GET) If a new Regulation entity has been created, the new entity should be posted to the relative URL: "/JurisdictionService/regulation" (HTTP-POST) If an existing Regulation entity has been updated, the modified entity should be sent to the relative URL: "/JurisdictionService/regulation/{id}" (HTTP-PUT) If an existing Regulation entity has to be deleted, the following relative URL should be called: "/JurisdictionService/regulation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RegulationPlatformImpact columns: - column: ImpactType - column: Description - column: Company - column: Regulation The table should have the title "RegulationPlatformImpacts" und the data must be loaded from the server with the following relative URL: "/CompanyService/regulationplatformimpact/regulation/{id}" Add a HTML table to the view with the following Fine columns: - column: Regulation - column: Jurisdiction - column: Currency - column: Amount - column: DecisionDate - column: Description - column: Company The table should have the title "Fines" und the data must be loaded from the server with the following relative URL: "/JurisdictionService/fine/regulation/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint