Overview
Summary
Contact
Donate
Imprint
Prompt for the
TrendLocationView
Please create a React-JS view called "TrendLocationView" for the fields of the TrendLocation entity. The TrendLocationView must contain the following fields: - name: Country type: STRING - name: CountryCode type: STRING - name: Name type: STRING - name: Woeid type: LONG An existing TrendLocation entity should be loaded from the relative URL: "/TrendLocationService/trendlocation/{id}" (HTTP-GET) If a new TrendLocation entity has been created, the new entity should be posted to the relative URL: "/TrendLocationService/trendlocation" (HTTP-POST) If an existing TrendLocation entity has been updated, the modified entity should be sent to the relative URL: "/TrendLocationService/trendlocation/{id}" (HTTP-PUT) If an existing TrendLocation entity has to be deleted, the following relative URL should be called: "/TrendLocationService/trendlocation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TrendTopic columns: - column: TrendLocation - column: Query - column: AsOf - column: Name - column: Url - column: PromotedContent The table should have the title "TrendTopics" und the data must be loaded from the server with the following relative URL: "/TrendLocationService/trendtopic/trendlocation/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint