Overview
Summary
Contact
Donate
Imprint
Prompt for the
AlertEventView
Please create a React-JS view called "AlertEventView" for the fields of the AlertEvent entity. The AlertEventView must contain the following fields: - name: AlertRule type: AlertRule - name: EventDescription type: STRING - name: GeographicalArea type: GeographicalArea - name: Port type: Port - name: PositionReport type: PositionReport - name: TriggeredUtc type: DATE - 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 [Port] select control should be loaded from the relative URL: "/PortService/port" (HTTP-GET) The data source for the [GeographicalArea] select control should be loaded from the relative URL: "/GeographicalAreaService/geographicalarea" (HTTP-GET) The data source for the [AlertRule] select control should be loaded from the relative URL: "/PortService/alertrule" (HTTP-GET) The data source for the [PositionReport] select control should be loaded from the relative URL: "/VesselService/positionreport" (HTTP-GET) An existing AlertEvent entity should be loaded from the relative URL: "/PortService/alertevent/{id}" (HTTP-GET) If a new AlertEvent entity has been created, the new entity should be posted to the relative URL: "/PortService/alertevent" (HTTP-POST) If an existing AlertEvent entity has been updated, the modified entity should be sent to the relative URL: "/PortService/alertevent/{id}" (HTTP-PUT) If an existing AlertEvent entity has to be deleted, the following relative URL should be called: "/PortService/alertevent/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Notification columns: - column: UserAccount - column: AlertEvent - column: Body - column: ErrorMessage - column: SentUtc - column: Channel - column: DeliveryStatus - column: Subject The table should have the title "Notifications" und the data must be loaded from the server with the following relative URL: "/FleetService/notification/alertevent/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint