Overview
Summary
Contact
Donate
Imprint
Prompt for the
FleetView
Please create a React-JS view called "FleetView" for the fields of the Fleet entity. The FleetView must contain the following fields: - name: CreatedUtc type: DATE - name: Description type: STRING - name: IsShared type: BOOL - name: Name type: STRING - name: OwnerUser type: UserAccount The data source for the [OwnerUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Fleet entity should be loaded from the relative URL: "/FleetService/fleet/{id}" (HTTP-GET) If a new Fleet entity has been created, the new entity should be posted to the relative URL: "/FleetService/fleet" (HTTP-POST) If an existing Fleet entity has been updated, the modified entity should be sent to the relative URL: "/FleetService/fleet/{id}" (HTTP-PUT) If an existing Fleet entity has to be deleted, the following relative URL should be called: "/FleetService/fleet/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FleetVessel columns: - column: Notes - column: AddedUtc - column: Fleet - column: Vessel The table should have the title "FleetVessels" und the data must be loaded from the server with the following relative URL: "/FleetService/fleetvessel/fleet/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint