Overview
Summary
Contact
Donate
Imprint
Prompt for the
DonationCampaignView
Please create a React-JS view called "DonationCampaignView" for the fields of the DonationCampaign entity. The DonationCampaignView must contain the following fields: - name: AmountRaised type: STRING - name: BeneficiaryOrganization type: Organization - name: Currency type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: RelatedEvent type: Event - name: StartDate type: DATE The data source for the [BeneficiaryOrganization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [RelatedEvent] select control should be loaded from the relative URL: "/OrganizationService/event" (HTTP-GET) An existing DonationCampaign entity should be loaded from the relative URL: "/OrganizationService/donationcampaign/{id}" (HTTP-GET) If a new DonationCampaign entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/donationcampaign" (HTTP-POST) If an existing DonationCampaign entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/donationcampaign/{id}" (HTTP-PUT) If an existing DonationCampaign entity has to be deleted, the following relative URL should be called: "/OrganizationService/donationcampaign/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint