Overview
Summary
Contact
Donate
Imprint
Prompt for the
RegulationView
Please create a React-JS view called "RegulationView" for the fields of the Regulation entity. 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