Overview
Summary
Contact
Donate
Imprint
Prompt for the
ReceiverView
Please create a React-JS view called "ReceiverView" for the fields of the Receiver entity. The ReceiverView must contain the following fields: - name: Active type: BOOL - name: AltitudeFt type: INT - name: InstallDate type: DATE - name: Latitude type: DOUBLE - name: Longitude type: DOUBLE - name: Name type: STRING - name: OwnerUser type: UserAccount - name: SerialNumber type: STRING - name: SourceType type: STRING The data source for the [OwnerUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Receiver entity should be loaded from the relative URL: "/ReceiverService/receiver/{id}" (HTTP-GET) If a new Receiver entity has been created, the new entity should be posted to the relative URL: "/ReceiverService/receiver" (HTTP-POST) If an existing Receiver entity has been updated, the modified entity should be sent to the relative URL: "/ReceiverService/receiver/{id}" (HTTP-PUT) If an existing Receiver entity has to be deleted, the following relative URL should be called: "/ReceiverService/receiver/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FlightPosition columns: - column: AltitudeFt - column: Source - column: Receiver - column: GroundSpeedKt - column: TrackDeg - column: Flight - column: OnGround - column: TimestampUtc - column: Longitude - column: VerticalSpeedFpm - column: Latitude The table should have the title "FlightPositions" und the data must be loaded from the server with the following relative URL: "/ReceiverService/flightposition/receiver/{id}" Add a HTML table to the view with the following ReceiverCoverageArea columns: - column: ValidFromUtc - column: ValidToUtc - column: Receiver - column: PolygonWkt The table should have the title "ReceiverCoverageAreas" und the data must be loaded from the server with the following relative URL: "/ReceiverService/receivercoveragearea/receiver/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint