Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserView
Please create a React-JS view called "UserView" for the fields of the User entity. The UserView must contain the following fields: - name: Country type: Country - name: CreatedAt type: STRING - name: DisplayName type: STRING - name: Email type: STRING - name: PasswordHash type: STRING - name: Status type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/TitleService/country" (HTTP-GET) An existing User entity should be loaded from the relative URL: "/UserService/user/{id}" (HTTP-GET) If a new User entity has been created, the new entity should be posted to the relative URL: "/UserService/user" (HTTP-POST) If an existing User entity has been updated, the modified entity should be sent to the relative URL: "/UserService/user/{id}" (HTTP-PUT) If an existing User entity has to be deleted, the following relative URL should be called: "/UserService/user/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PaymentMethod columns: - column: User - column: ExpiryMonth - column: IsDefault - column: Provider - column: BillingCountry - column: ExpiryYear - column: LastFour - column: Type - column: CreatedAt The table should have the title "PaymentMethods" und the data must be loaded from the server with the following relative URL: "/UserService/paymentmethod/user/{id}" Add a HTML table to the view with the following Device columns: - column: OsName - column: AppVersion - column: LastActiveAt - column: DeviceType - column: OsVersion - column: Model - column: User - column: Manufacturer - column: RegisteredAt The table should have the title "Devices" und the data must be loaded from the server with the following relative URL: "/EpisodeService/device/user/{id}" Add a HTML table to the view with the following ChannelSubscription columns: - column: StartDate - column: Channel - column: User - column: EndDate - column: AutoRenew - column: Status The table should have the title "ChannelSubscriptions" und the data must be loaded from the server with the following relative URL: "/DrmSchemeService/channelsubscription/user/{id}" Add a HTML table to the view with the following Profile columns: - column: Name - column: IsKidsProfile - column: User - column: AvatarUrl - column: CreatedAt The table should have the title "Profiles" und the data must be loaded from the server with the following relative URL: "/ProfileService/profile/user/{id}" Add a HTML table to the view with the following Subscription columns: - column: EndDate - column: StartDate - column: AutoRenew - column: User - column: Status - column: SubscriptionPlan The table should have the title "Subscriptions" und the data must be loaded from the server with the following relative URL: "/SeasonService/subscription/user/{id}" Add a HTML table to the view with the following Payment columns: - column: Status - column: Amount - column: PaidAt - column: Currency - column: User - column: Subscription - column: Description - column: PaymentMethod The table should have the title "Payments" und the data must be loaded from the server with the following relative URL: "/UserService/payment/user/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint