Overview
Summary
Contact
Donate
Imprint
Prompt for the
LocationView
Please create a React-JS view called "LocationView" for the fields of the Location entity. The LocationView must contain the following fields: - name: Address type: STRING - name: City type: STRING - name: Country type: STRING - name: CreatedAt type: DATE - name: Latitude type: STRING - name: Longitude type: STRING - name: Name type: STRING An existing Location entity should be loaded from the relative URL: "/FeatureFlagService/location/{id}" (HTTP-GET) If a new Location entity has been created, the new entity should be posted to the relative URL: "/FeatureFlagService/location" (HTTP-POST) If an existing Location entity has been updated, the modified entity should be sent to the relative URL: "/FeatureFlagService/location/{id}" (HTTP-PUT) If an existing Location entity has to be deleted, the following relative URL should be called: "/FeatureFlagService/location/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Post columns: - column: Location - column: IsSponsored - column: CreatedAt - column: Visibility - column: Caption - column: UserAccount - column: UpdatedAt - column: IsArchived - column: MediaType The table should have the title "Posts" und the data must be loaded from the server with the following relative URL: "/UserAccountService/post/location/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint