Overview
Summary
Contact
Donate
Imprint
Prompt for the
CityView
Please create a React-JS view called "CityView" for the fields of the City entity. The CityView must contain the following fields: - name: Country type: Country - name: Latitude type: DOUBLE - name: Longitude type: DOUBLE - name: Name type: STRING - name: Region type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing City entity should be loaded from the relative URL: "/ListingService/city/{id}" (HTTP-GET) If a new City entity has been created, the new entity should be posted to the relative URL: "/ListingService/city" (HTTP-POST) If an existing City entity has been updated, the modified entity should be sent to the relative URL: "/ListingService/city/{id}" (HTTP-PUT) If an existing City entity has to be deleted, the following relative URL should be called: "/ListingService/city/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Market columns: - column: RegionName - column: IsKeyMarket - column: City - column: Country The table should have the title "Markets" und the data must be loaded from the server with the following relative URL: "/MarketService/market/city/{id}" Add a HTML table to the view with the following HomeSharingClub columns: - column: Description - column: Country - column: City - column: SupportedByCompany - column: FoundedDate The table should have the title "HomeSharingClubs" und the data must be loaded from the server with the following relative URL: "/ListingService/homesharingclub/city/{id}" Add a HTML table to the view with the following Office columns: - column: IsHeadquarters - column: Company - column: Country - column: AddressLine - column: City - column: OpenedDate - column: ClosedDate The table should have the title "Offices" und the data must be loaded from the server with the following relative URL: "/AdvocacyGroupService/office/city/{id}" Add a HTML table to the view with the following Listing columns: - column: PostalCode - column: UpdatedAt - column: IsInstantBookable - column: PropertyType - column: Title - column: Status - column: Country - column: City - column: Bathrooms - column: CreatedAt - column: AddressLine - column: Beds - column: Bedrooms - column: MaxGuests - column: Latitude - column: HostProfile - column: Description - column: RoomType - column: Longitude The table should have the title "Listings" und the data must be loaded from the server with the following relative URL: "/ListingService/listing/city/{id}" Add a HTML table to the view with the following PlatformUser columns: - column: FacebookProfileUrl - column: CreatedAt - column: City - column: FullName - column: Country - column: UpdatedAt - column: PhoneNumber - column: Email - column: DateOfBirth - column: VerificationLevel - column: GoogleProfileUrl - column: ProfilePhotoUrl - column: LinkedinProfileUrl The table should have the title "PlatformUsers" und the data must be loaded from the server with the following relative URL: "/PlatformUserService/platformuser/city/{id}" Add a HTML table to the view with the following Company columns: - column: Website - column: Industry - column: Name - column: HeadquartersAddress - column: IsPublic - column: FoundedDate - column: Country - column: City - column: LegalForm The table should have the title "Companys" und the data must be loaded from the server with the following relative URL: "/CompanyService/company/city/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint