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: Description type: STRING - name: IsDuo type: BOOL - name: IsFamily type: BOOL - name: IsMini type: BOOL - name: IsPaid type: BOOL - name: IsStudent type: BOOL - name: MaxBitrateKbps type: LONG - name: MaxDevices type: LONG - name: MaxOfflineTracks type: LONG - 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 StreamEvent columns: - column: Track - column: PodcastEpisode - column: SubscriptionPlan - column: StartedAt - column: Country - column: IsCountedForRoyalty - column: UserAccount - column: DurationSeconds The table should have the title "StreamEvents" und the data must be loaded from the server with the following relative URL: "/TrackService/streamevent/subscriptionplan/{id}" Add a HTML table to the view with the following PlanFeature columns: - column: IsIncluded - column: SubscriptionPlan - column: SubscriptionFeature The table should have the title "PlanFeatures" und the data must be loaded from the server with the following relative URL: "/SubscriptionPlanService/planfeature/subscriptionplan/{id}" Add a HTML table to the view with the following UserSubscription columns: - column: HouseholdAddress - column: IsPrimaryHolder - column: SubscriptionPlan - column: StartedAt - column: UserAccount - column: EndedAt - column: IsAutoRenew 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