Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserAccountView
Please create a React-JS view called "UserAccountView" for the fields of the UserAccount entity. The UserAccountView must contain the following fields: - name: CreatedAt type: DATE - name: DefaultCurrency type: Currency - name: DefaultLanguage type: Language - name: Email type: STRING - name: FullName type: STRING - name: IsActive type: BOOL - name: PasswordHash type: STRING - name: PhoneNumber type: STRING The data source for the [DefaultLanguage] select control should be loaded from the relative URL: "/LanguageService/language" (HTTP-GET) The data source for the [DefaultCurrency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) An existing UserAccount entity should be loaded from the relative URL: "/UserAccountService/useraccount/{id}" (HTTP-GET) If a new UserAccount entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/useraccount" (HTTP-POST) If an existing UserAccount entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/useraccount/{id}" (HTTP-PUT) If an existing UserAccount entity has to be deleted, the following relative URL should be called: "/UserAccountService/useraccount/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserLoyaltyStatus columns: - column: UserAccount - column: LoyaltyProgram - column: LevelCode - column: EarnedAt - column: ExpiresAt - column: LevelName The table should have the title "UserLoyaltyStatuss" und the data must be loaded from the server with the following relative URL: "/UserAccountService/userloyaltystatus/useraccount/{id}" Add a HTML table to the view with the following Review columns: - column: Attraction - column: Text - column: UserAccount - column: Property - column: Booking - column: Language - column: OverallScore - column: AirportTransferProduct - column: CarRentalProduct - column: IsPublic - column: Title - column: CreatedAt The table should have the title "Reviews" und the data must be loaded from the server with the following relative URL: "/LanguageService/review/useraccount/{id}" Add a HTML table to the view with the following TravelCreditTransaction columns: - column: UserAccount - column: Amount - column: CreatedAt - column: Booking - column: Description - column: Currency - column: Type The table should have the title "TravelCreditTransactions" und the data must be loaded from the server with the following relative URL: "/UserAccountService/travelcredittransaction/useraccount/{id}" Add a HTML table to the view with the following PaymentMethod columns: - column: MaskedDetails - column: IsActive - column: IsDefault - column: Type - column: ExpiryYear - column: HolderName - column: UserAccount - column: ExpiryMonth - column: CreatedAt The table should have the title "PaymentMethods" und the data must be loaded from the server with the following relative URL: "/UserAccountService/paymentmethod/useraccount/{id}" Add a HTML table to the view with the following Booking columns: - column: Channel - column: UserAccount - column: Currency - column: UpdatedAt - column: Status - column: TotalAmount - column: DisplayAmount - column: CreatedAt The table should have the title "Bookings" und the data must be loaded from the server with the following relative URL: "/BookingService/booking/useraccount/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint