Overview
Summary
Contact
Donate
Imprint
Prompt for the
VesselStatusView
Please create a React-JS view called "VesselStatusView" for the fields of the VesselStatus entity. The VesselStatusView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing VesselStatus entity should be loaded from the relative URL: "/GeographicalAreaService/vesselstatus/{id}" (HTTP-GET) If a new VesselStatus entity has been created, the new entity should be posted to the relative URL: "/GeographicalAreaService/vesselstatus" (HTTP-POST) If an existing VesselStatus entity has been updated, the modified entity should be sent to the relative URL: "/GeographicalAreaService/vesselstatus/{id}" (HTTP-PUT) If an existing VesselStatus entity has to be deleted, the following relative URL should be called: "/GeographicalAreaService/vesselstatus/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Vessel columns: - column: BuildYear - column: Beam - column: LengthOverall - column: VesselType - column: Draught - column: CallSign - column: ImoNumber - column: GrossTonnage - column: FlagCountry - column: VesselStatus - column: Name - column: Mmsi - column: Deadweight The table should have the title "Vessels" und the data must be loaded from the server with the following relative URL: "/VesselService/vessel/vesselstatus/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint