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: Amount type: DOUBLE - name: BillingFrequency type: INT - name: BillingInterval type: STRING - name: Currency type: Currency - name: Description type: STRING - name: Merchant type: Merchant - name: Name type: STRING - name: Status type: STRING - name: TrialDays type: INT The data source for the [Merchant] select control should be loaded from the relative URL: "/MerchantService/merchant" (HTTP-GET) The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) An existing SubscriptionPlan entity should be loaded from the relative URL: "/SubscriptionService/subscriptionplan/{id}" (HTTP-GET) If a new SubscriptionPlan entity has been created, the new entity should be posted to the relative URL: "/SubscriptionService/subscriptionplan" (HTTP-POST) If an existing SubscriptionPlan entity has been updated, the modified entity should be sent to the relative URL: "/SubscriptionService/subscriptionplan/{id}" (HTTP-PUT) If an existing SubscriptionPlan entity has to be deleted, the following relative URL should be called: "/SubscriptionService/subscriptionplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Subscription columns: - column: UserAccount - column: CancelledAt - column: EndDate - column: StartDate - column: Status - column: PaymentMethod - column: SubscriptionPlan The table should have the title "Subscriptions" und the data must be loaded from the server with the following relative URL: "/SubscriptionService/subscription/subscriptionplan/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint