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: BirthDate type: DATE - name: Country type: Country - name: CreatedAt type: DATE - name: DisplayName type: STRING - name: Email type: STRING - name: IsFamilyManager type: BOOL - name: IsPremium type: BOOL - name: IsStudent type: BOOL - name: Region type: Region The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/UserAccountService/region" (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 UserCampaignStat columns: - column: TopArtist - column: TopTrack - column: Campaign - column: UserAccount - column: TotalMinutes - column: GeneratedAt The table should have the title "UserCampaignStats" und the data must be loaded from the server with the following relative URL: "/UserAccountService/usercampaignstat/useraccount/{id}" Add a HTML table to the view with the following Device columns: - column: IsSpotifyConnectCapable - column: ModelName - column: PlatformApp - column: DeviceType - column: UserAccount - column: RegisteredAt The table should have the title "Devices" und the data must be loaded from the server with the following relative URL: "/DeviceService/device/useraccount/{id}" 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/useraccount/{id}" Add a HTML table to the view with the following CreatorToolUsage columns: - column: Podcast - column: Artist - column: UserAccount - column: StartedAt - column: CreatorTool The table should have the title "CreatorToolUsages" und the data must be loaded from the server with the following relative URL: "/TrackService/creatortoolusage/useraccount/{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/useraccount/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint