Overview
Summary
Contact
Donate
Imprint
Prompt for the
CarRentalLocationView
Please create a React-JS view called "CarRentalLocationView" for the fields of the CarRentalLocation entity. The CarRentalLocationView must contain the following fields: - name: AddressLine1 type: STRING - name: AddressLine2 type: STRING - name: Latitude type: STRING - name: LocationCity type: LocationCity - name: Longitude type: STRING - name: Name type: STRING - name: PartnerAccount type: PartnerAccount - name: PostalCode type: STRING The data source for the [PartnerAccount] select control should be loaded from the relative URL: "/PartnerAccountService/partneraccount" (HTTP-GET) The data source for the [LocationCity] select control should be loaded from the relative URL: "/LocationCityService/locationcity" (HTTP-GET) An existing CarRentalLocation entity should be loaded from the relative URL: "/CarRentalLocationService/carrentallocation/{id}" (HTTP-GET) If a new CarRentalLocation entity has been created, the new entity should be posted to the relative URL: "/CarRentalLocationService/carrentallocation" (HTTP-POST) If an existing CarRentalLocation entity has been updated, the modified entity should be sent to the relative URL: "/CarRentalLocationService/carrentallocation/{id}" (HTTP-PUT) If an existing CarRentalLocation entity has to be deleted, the following relative URL should be called: "/CarRentalLocationService/carrentallocation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CarRentalBooking columns: - column: TotalAmount - column: CarRentalProduct - column: DropoffLocation - column: DropoffDateTime - column: Booking - column: PickupLocation - column: Currency - column: PickupDateTime The table should have the title "CarRentalBookings" und the data must be loaded from the server with the following relative URL: "/CarRentalLocationService/carrentalbooking/pickuplocation/{id}" Add a HTML table to the view with the following CarRentalBooking columns: - column: TotalAmount - column: CarRentalProduct - column: DropoffLocation - column: DropoffDateTime - column: Booking - column: PickupLocation - column: Currency - column: PickupDateTime The table should have the title "CarRentalBookings" und the data must be loaded from the server with the following relative URL: "/CarRentalLocationService/carrentalbooking/dropofflocation/{id}" Add a HTML table to the view with the following CarRentalProduct columns: - column: CarRentalLocation - column: AirConditioning - column: Description - column: Transmission - column: Doors - column: Seats - column: Name - column: CarCategory The table should have the title "CarRentalProducts" und the data must be loaded from the server with the following relative URL: "/CarCategoryService/carrentalproduct/carrentallocation/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint