Overview
Summary
Contact
Donate
Imprint
Prompt for the
DisputeView
Please create a React-JS view called "DisputeView" for the fields of the Dispute entity. The DisputeView must contain the following fields: - name: CloseDate type: DATE - name: Description type: STRING - name: DisputeType type: STRING - name: OpenDate type: DATE - name: OpenedByUserAccount type: UserAccount - name: OrderItem type: OrderItem - name: Resolution type: STRING - name: Status type: STRING The data source for the [OrderItem] select control should be loaded from the relative URL: "/UserAccountService/orderitem" (HTTP-GET) The data source for the [OpenedByUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Dispute entity should be loaded from the relative URL: "/DisputeService/dispute/{id}" (HTTP-GET) If a new Dispute entity has been created, the new entity should be posted to the relative URL: "/DisputeService/dispute" (HTTP-POST) If an existing Dispute entity has been updated, the modified entity should be sent to the relative URL: "/DisputeService/dispute/{id}" (HTTP-PUT) If an existing Dispute entity has to be deleted, the following relative URL should be called: "/DisputeService/dispute/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FraudCase columns: - column: CloseDate - column: Description - column: Dispute - column: Outcome - column: RelatedUserAccount - column: OpenDate - column: CaseType The table should have the title "FraudCases" und the data must be loaded from the server with the following relative URL: "/DisputeService/fraudcase/dispute/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint