Overview
Summary
Contact
Donate
Imprint
Prompt for the
PayoutView
Please create a React-JS view called "PayoutView" for the fields of the Payout entity. The PayoutView must contain the following fields: - name: CompletedAt type: DATE - name: CreatedAt type: DATE - name: Currency type: Currency - name: FundingSource type: FundingSource - name: Status type: STRING - name: TotalAmount type: DOUBLE - name: UserAccount type: UserAccount The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) The data source for the [FundingSource] select control should be loaded from the relative URL: "/FundingSourceService/fundingsource" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Payout entity should be loaded from the relative URL: "/UserAccountService/payout/{id}" (HTTP-GET) If a new Payout entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/payout" (HTTP-POST) If an existing Payout entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/payout/{id}" (HTTP-PUT) If an existing Payout entity has to be deleted, the following relative URL should be called: "/UserAccountService/payout/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PayoutItem columns: - column: Transaction - column: Payout - column: Amount - column: Reference - column: Status The table should have the title "PayoutItems" und the data must be loaded from the server with the following relative URL: "/TransactionService/payoutitem/payout/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint