Overview
Summary
Contact
Donate
Imprint
Prompt for the
EventView
Please create a React-JS view called "EventView" for the fields of the Event entity. The EventView must contain the following fields: - name: DateTime type: DATE - name: Description type: STRING - name: EventType type: STRING - name: Location type: Location - name: Name type: STRING - name: RelatedOrganization type: Organization - name: RelatedZeppelin type: Zeppelin The data source for the [RelatedOrganization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [RelatedZeppelin] select control should be loaded from the relative URL: "/ZeppelinService/zeppelin" (HTTP-GET) The data source for the [Location] select control should be loaded from the relative URL: "/LocationService/location" (HTTP-GET) An existing Event entity should be loaded from the relative URL: "/OrganizationService/event/{id}" (HTTP-GET) If a new Event entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/event" (HTTP-POST) If an existing Event entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/event/{id}" (HTTP-PUT) If an existing Event entity has to be deleted, the following relative URL should be called: "/OrganizationService/event/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DonationCampaign columns: - column: BeneficiaryOrganization - column: Name - column: AmountRaised - column: StartDate - column: EndDate - column: RelatedEvent - column: Currency - column: Description The table should have the title "DonationCampaigns" und the data must be loaded from the server with the following relative URL: "/OrganizationService/donationcampaign/relatedevent/{id}" Add a HTML table to the view with the following Lottery columns: - column: StartDate - column: Name - column: EndDate - column: RelatedEvent - column: Description - column: ProceedsAmount - column: Currency - column: BeneficiaryOrganization The table should have the title "Lotterys" und the data must be loaded from the server with the following relative URL: "/OrganizationService/lottery/relatedevent/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint