Overview
Summary
Contact
Donate
Imprint
Prompt for the
CountryView
Please create a React-JS view called "CountryView" for the fields of the Country entity. The CountryView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Country entity should be loaded from the relative URL: "/CountryService/country/{id}" (HTTP-GET) If a new Country entity has been created, the new entity should be posted to the relative URL: "/CountryService/country" (HTTP-POST) If an existing Country entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/country/{id}" (HTTP-PUT) If an existing Country entity has to be deleted, the following relative URL should be called: "/CountryService/country/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RegulatoryAuthority columns: - column: Name - column: Country - column: Website The table should have the title "RegulatoryAuthoritys" und the data must be loaded from the server with the following relative URL: "/CountryService/regulatoryauthority/country/{id}" Add a HTML table to the view with the following Region columns: - column: Name - column: Country The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/RegionService/region/country/{id}" Add a HTML table to the view with the following ServiceArea columns: - column: AreaType - column: Description - column: Region - column: Name - column: Country The table should have the title "ServiceAreas" und the data must be loaded from the server with the following relative URL: "/RegionService/servicearea/country/{id}" Add a HTML table to the view with the following PartnerOrganization columns: - column: Country - column: Website - column: Name - column: OrganizationType The table should have the title "PartnerOrganizations" und the data must be loaded from the server with the following relative URL: "/ServiceDeploymentService/partnerorganization/country/{id}" Add a HTML table to the view with the following DisasterEvent columns: - column: Name - column: Country - column: EventType - column: EndDate - column: Description - column: Region - column: StartDate The table should have the title "DisasterEvents" und the data must be loaded from the server with the following relative URL: "/WindLayerService/disasterevent/country/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint