Overview
Summary
Contact
Donate
Imprint
Prompt for the
LocationDistrictView
Please create a React-JS view called "LocationDistrictView" for the fields of the LocationDistrict entity. The LocationDistrictView must contain the following fields: - name: LocationCity type: LocationCity - name: Name type: STRING The data source for the [LocationCity] select control should be loaded from the relative URL: "/LocationCityService/locationcity" (HTTP-GET) An existing LocationDistrict entity should be loaded from the relative URL: "/PropertyService/locationdistrict/{id}" (HTTP-GET) If a new LocationDistrict entity has been created, the new entity should be posted to the relative URL: "/PropertyService/locationdistrict" (HTTP-POST) If an existing LocationDistrict entity has been updated, the modified entity should be sent to the relative URL: "/PropertyService/locationdistrict/{id}" (HTTP-PUT) If an existing LocationDistrict entity has to be deleted, the following relative URL should be called: "/PropertyService/locationdistrict/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Property columns: - column: Latitude - column: StarRating - column: AddressLine1 - column: LocationCity - column: AddressLine2 - column: PropertyType - column: LocationDistrict - column: IsActive - column: PostalCode - column: CheckInTo - column: LocationCountry - column: CreatedAt - column: CheckOutFrom - column: PartnerAccount - column: Longitude - column: CheckInFrom - column: CheckOutTo - column: Name The table should have the title "Propertys" und the data must be loaded from the server with the following relative URL: "/PropertyService/property/locationdistrict/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint