Overview
Summary
Contact
Donate
Imprint
Prompt for the
LotteryView
Please create a React-JS view called "LotteryView" for the fields of the Lottery entity. The LotteryView must contain the following fields: - name: BeneficiaryOrganization type: Organization - name: Currency type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: ProceedsAmount 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 Lottery entity should be loaded from the relative URL: "/OrganizationService/lottery/{id}" (HTTP-GET) If a new Lottery entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/lottery" (HTTP-POST) If an existing Lottery entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/lottery/{id}" (HTTP-PUT) If an existing Lottery entity has to be deleted, the following relative URL should be called: "/OrganizationService/lottery/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint