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 Location columns: - column: LocationType - column: Region - column: Latitude - column: Name - column: Longitude - column: Country The table should have the title "Locations" und the data must be loaded from the server with the following relative URL: "/LocationService/location/country/{id}" Add a HTML table to the view with the following Customer columns: - column: City - column: Phone - column: AddressLine2 - column: Country - column: LastName - column: FirstName - column: PostalCode - column: Email - column: AddressLine1 The table should have the title "Customers" und the data must be loaded from the server with the following relative URL: "/CustomerService/customer/country/{id}" Add a HTML table to the view with the following MilitaryBranch columns: - column: Country - column: Name - column: BranchType The table should have the title "MilitaryBranchs" und the data must be loaded from the server with the following relative URL: "/CountryService/militarybranch/country/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint