Overview
Summary
Contact
Donate
Imprint
Prompt for the
PositionReportView
Please create a React-JS view called "PositionReportView" for the fields of the PositionReport entity. The PositionReportView must contain the following fields: - name: AisStation type: AisStation - name: CourseOverGround type: STRING - name: DestinationText type: STRING - name: EtaUtc type: DATE - name: GeographicalArea type: GeographicalArea - name: Heading type: STRING - name: IsInterpolated type: BOOL - name: Latitude type: STRING - name: Longitude type: STRING - name: NavigationalStatus type: STRING - name: PositionAccuracyMeters type: STRING - name: PositionTimeUtc type: DATE - name: SpeedOverGround type: STRING - name: Vessel type: Vessel The data source for the [Vessel] select control should be loaded from the relative URL: "/VesselService/vessel" (HTTP-GET) The data source for the [AisStation] select control should be loaded from the relative URL: "/GeographicalAreaService/aisstation" (HTTP-GET) The data source for the [GeographicalArea] select control should be loaded from the relative URL: "/GeographicalAreaService/geographicalarea" (HTTP-GET) An existing PositionReport entity should be loaded from the relative URL: "/VesselService/positionreport/{id}" (HTTP-GET) If a new PositionReport entity has been created, the new entity should be posted to the relative URL: "/VesselService/positionreport" (HTTP-POST) If an existing PositionReport entity has been updated, the modified entity should be sent to the relative URL: "/VesselService/positionreport/{id}" (HTTP-PUT) If an existing PositionReport entity has to be deleted, the following relative URL should be called: "/VesselService/positionreport/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AlertEvent columns: - column: Vessel - column: GeographicalArea - column: PositionReport - column: AlertRule - column: EventDescription - column: TriggeredUtc - column: Port The table should have the title "AlertEvents" und the data must be loaded from the server with the following relative URL: "/PortService/alertevent/positionreport/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint