Overview
Summary
Contact
Donate
Imprint
Prompt for the
SubscriptionPlanView
Please create a React-JS view called "SubscriptionPlanView" for the fields of the SubscriptionPlan entity. The SubscriptionPlanView must contain the following fields: - name: HasAlerts type: BOOL - name: HasHistoricalData type: BOOL - name: HasNoAds type: BOOL - name: HasWeatherLayers type: BOOL - name: MaxDevices type: INT - name: Name type: STRING - name: PriceMonthly type: DOUBLE - name: PriceYearly type: DOUBLE An existing SubscriptionPlan entity should be loaded from the relative URL: "/AdvertisementService/subscriptionplan/{id}" (HTTP-GET) If a new SubscriptionPlan entity has been created, the new entity should be posted to the relative URL: "/AdvertisementService/subscriptionplan" (HTTP-POST) If an existing SubscriptionPlan entity has been updated, the modified entity should be sent to the relative URL: "/AdvertisementService/subscriptionplan/{id}" (HTTP-PUT) If an existing SubscriptionPlan entity has to be deleted, the following relative URL should be called: "/AdvertisementService/subscriptionplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserSubscription columns: - column: EndDateUtc - column: SubscriptionPlan - column: AutoRenew - column: Status - column: UserAccount - column: StartDateUtc The table should have the title "UserSubscriptions" und the data must be loaded from the server with the following relative URL: "/UserAccountService/usersubscription/subscriptionplan/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint