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: BillingPeriod type: STRING - name: Currency type: STRING - name: Description type: STRING - name: HistoricalDataDays type: LONG - name: HistoricalDataYears type: LONG - name: IsActive type: BOOL - name: IsEnterprise type: BOOL - name: MaxApiCallsPerMonth type: LONG - name: MaxCustomAreas type: LONG - name: MaxNotificationsPerMonth type: LONG - name: MaxTrackedVessels type: LONG - name: Name type: STRING - name: PriceAmount type: STRING An existing SubscriptionPlan entity should be loaded from the relative URL: "/SubscriptionPlanService/subscriptionplan/{id}" (HTTP-GET) If a new SubscriptionPlan entity has been created, the new entity should be posted to the relative URL: "/SubscriptionPlanService/subscriptionplan" (HTTP-POST) If an existing SubscriptionPlan entity has been updated, the modified entity should be sent to the relative URL: "/SubscriptionPlanService/subscriptionplan/{id}" (HTTP-PUT) If an existing SubscriptionPlan entity has to be deleted, the following relative URL should be called: "/SubscriptionPlanService/subscriptionplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserSubscription columns: - column: StartUtc - column: SubscriptionPlan - column: UserAccount - column: IsTrial - column: AutoRenew - column: EndUtc The table should have the title "UserSubscriptions" und the data must be loaded from the server with the following relative URL: "/SubscriptionPlanService/usersubscription/subscriptionplan/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint