Overview
Summary
Contact
Donate
Imprint
Prompt for the
CampaignTypeView
Please create a React-JS view called "CampaignTypeView" for the fields of the CampaignType entity. The CampaignTypeView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing CampaignType entity should be loaded from the relative URL: "/UserAccountService/campaigntype/{id}" (HTTP-GET) If a new CampaignType entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/campaigntype" (HTTP-POST) If an existing CampaignType entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/campaigntype/{id}" (HTTP-PUT) If an existing CampaignType entity has to be deleted, the following relative URL should be called: "/UserAccountService/campaigntype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Campaign columns: - column: PeriodStart - column: IsGlobal - column: Name - column: CampaignType - column: PeriodEnd The table should have the title "Campaigns" und the data must be loaded from the server with the following relative URL: "/UserAccountService/campaign/campaigntype/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint