Overview
Summary
Contact
Donate
Imprint
Prompt for the
GeographicalAreaView
Please create a React-JS view called "GeographicalAreaView" for the fields of the GeographicalArea entity. The GeographicalAreaView must contain the following fields: - name: AreaType type: STRING - name: Code type: STRING - name: CreatedByUser type: LONG - name: Description type: STRING - name: GeometryWkt type: STRING - name: Name type: STRING - name: ParentArea type: LONG An existing GeographicalArea entity should be loaded from the relative URL: "/GeographicalAreaService/geographicalarea/{id}" (HTTP-GET) If a new GeographicalArea entity has been created, the new entity should be posted to the relative URL: "/GeographicalAreaService/geographicalarea" (HTTP-POST) If an existing GeographicalArea entity has been updated, the modified entity should be sent to the relative URL: "/GeographicalAreaService/geographicalarea/{id}" (HTTP-PUT) If an existing GeographicalArea entity has to be deleted, the following relative URL should be called: "/GeographicalAreaService/geographicalarea/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AlertRule columns: - column: AlertType - column: UserAccount - column: ThresholdSpeed - column: Name - column: CreatedUtc - column: GeographicalArea - column: Vessel - column: Description - column: Port - column: IsActive The table should have the title "AlertRules" und the data must be loaded from the server with the following relative URL: "/PortService/alertrule/geographicalarea/{id}" 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/geographicalarea/{id}" Add a HTML table to the view with the following PositionReport columns: - column: AisStation - column: IsInterpolated - column: CourseOverGround - column: Vessel - column: EtaUtc - column: Longitude - column: Heading - column: PositionTimeUtc - column: GeographicalArea - column: SpeedOverGround - column: NavigationalStatus - column: PositionAccuracyMeters - column: Latitude - column: DestinationText The table should have the title "PositionReports" und the data must be loaded from the server with the following relative URL: "/VesselService/positionreport/geographicalarea/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint