Overview
Summary
Contact
Donate
Imprint
Prompt for the
AisStationView
Please create a React-JS view called "AisStationView" for the fields of the AisStation entity. The AisStationView must contain the following fields: - name: ActiveFromUtc type: DATE - name: ActiveToUtc type: DATE - name: Country type: Country - name: ElevationMeters type: STRING - name: IsActive type: BOOL - name: Latitude type: STRING - name: Longitude type: STRING - name: Name type: STRING - name: OwnerUser type: LONG - name: StationCode type: STRING - name: StationType type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/UserAccountService/country" (HTTP-GET) An existing AisStation entity should be loaded from the relative URL: "/GeographicalAreaService/aisstation/{id}" (HTTP-GET) If a new AisStation entity has been created, the new entity should be posted to the relative URL: "/GeographicalAreaService/aisstation" (HTTP-POST) If an existing AisStation entity has been updated, the modified entity should be sent to the relative URL: "/GeographicalAreaService/aisstation/{id}" (HTTP-PUT) If an existing AisStation entity has to be deleted, the following relative URL should be called: "/GeographicalAreaService/aisstation/{id}" (HTTP-DELETE) 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/aisstation/{id}" Add a HTML table to the view with the following AisMessage columns: - column: AisStation - column: SourceType - column: RawHeading - column: NmeaSentence - column: Vessel - column: RawEta - column: RawNavigationalStatus - column: RawCourseOverGround - column: ReceivedUtc - column: MessageType - column: RawDraught - column: RawLatitude - column: RawDestination - column: RawLongitude - column: RawSpeedOverGround The table should have the title "AisMessages" und the data must be loaded from the server with the following relative URL: "/GeographicalAreaService/aismessage/aisstation/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint