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: Features type: STRING - name: IsActive type: BOOL - name: MonthlyPriceUsd type: DOUBLE - name: Name 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 NitroSubscription columns: - column: EndedAt - column: User - column: AutoRenews - column: SubscriptionPlan - column: StartedAt The table should have the title "NitroSubscriptions" und the data must be loaded from the server with the following relative URL: "/UserAccountService/nitrosubscription/subscriptionplan/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint