Overview
Summary
Contact
Donate
Imprint
Prompt for the
CampaignView
Please create a React-JS view called "CampaignView" for the fields of the Campaign entity. The CampaignView must contain the following fields: - name: AdAccount type: AdAccount - name: DailyBudget type: DOUBLE - name: EndDate type: STRING - name: Name type: STRING - name: Objective type: STRING - name: StartDate type: STRING - name: Status type: STRING - name: TotalBudget type: DOUBLE The data source for the [AdAccount] select control should be loaded from the relative URL: "/CampaignService/adaccount" (HTTP-GET) An existing Campaign entity should be loaded from the relative URL: "/CampaignService/campaign/{id}" (HTTP-GET) If a new Campaign entity has been created, the new entity should be posted to the relative URL: "/CampaignService/campaign" (HTTP-POST) If an existing Campaign entity has been updated, the modified entity should be sent to the relative URL: "/CampaignService/campaign/{id}" (HTTP-PUT) If an existing Campaign entity has to be deleted, the following relative URL should be called: "/CampaignService/campaign/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PromotedTweet columns: - column: Campaign - column: Tweet - column: Status - column: CreatedAt - column: LineItemName The table should have the title "PromotedTweets" und the data must be loaded from the server with the following relative URL: "/TweetService/promotedtweet/campaign/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint