Overview
Summary
Contact
Donate
Imprint
Prompt for the
AttractionView
Please create a React-JS view called "AttractionView" for the fields of the Attraction entity. The AttractionView must contain the following fields: - name: AddressLine1 type: STRING - name: AddressLine2 type: STRING - name: Description 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 Attraction entity should be loaded from the relative URL: "/PartnerAccountService/attraction/{id}" (HTTP-GET) If a new Attraction entity has been created, the new entity should be posted to the relative URL: "/PartnerAccountService/attraction" (HTTP-POST) If an existing Attraction entity has been updated, the modified entity should be sent to the relative URL: "/PartnerAccountService/attraction/{id}" (HTTP-PUT) If an existing Attraction entity has to be deleted, the following relative URL should be called: "/PartnerAccountService/attraction/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AttractionSchedule columns: - column: EndDateTime - column: StartDateTime - column: Attraction - column: Capacity The table should have the title "AttractionSchedules" und the data must be loaded from the server with the following relative URL: "/PartnerAccountService/attractionschedule/attraction/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint