Overview
Summary
Contact
Donate
Imprint
Prompt for the
ListingAmenityView
Please create a React-JS view called "ListingAmenityView" for the fields of the ListingAmenity entity. The ListingAmenityView must contain the following fields: - name: Amenity type: Amenity - name: Listing type: Listing The data source for the [Amenity] select control should be loaded from the relative URL: "/AmenityService/amenity" (HTTP-GET) The data source for the [Listing] select control should be loaded from the relative URL: "/ListingService/listing" (HTTP-GET) An existing ListingAmenity entity should be loaded from the relative URL: "/AmenityService/listingamenity/{id}" (HTTP-GET) If a new ListingAmenity entity has been created, the new entity should be posted to the relative URL: "/AmenityService/listingamenity" (HTTP-POST) If an existing ListingAmenity entity has been updated, the modified entity should be sent to the relative URL: "/AmenityService/listingamenity/{id}" (HTTP-PUT) If an existing ListingAmenity entity has to be deleted, the following relative URL should be called: "/AmenityService/listingamenity/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint