Overview
Summary
Contact
Donate
Imprint
Prompt for the
ZeppelinView
Please create a React-JS view called "ZeppelinView" for the fields of the Zeppelin entity. The ZeppelinView must contain the following fields: - name: Code type: STRING - name: ConstructionNumber type: STRING - name: FirstFlightDate type: DATE - name: HomeBaseLocation type: Location - name: LastFlightDate type: DATE - name: Name type: STRING - name: Notes type: STRING - name: Operator type: Organization - name: Status type: STRING - name: ZeppelinClass type: ZeppelinClass The data source for the [HomeBaseLocation] select control should be loaded from the relative URL: "/LocationService/location" (HTTP-GET) The data source for the [Operator] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [ZeppelinClass] select control should be loaded from the relative URL: "/OrganizationService/zeppelinclass" (HTTP-GET) An existing Zeppelin entity should be loaded from the relative URL: "/ZeppelinService/zeppelin/{id}" (HTTP-GET) If a new Zeppelin entity has been created, the new entity should be posted to the relative URL: "/ZeppelinService/zeppelin" (HTTP-POST) If an existing Zeppelin entity has been updated, the modified entity should be sent to the relative URL: "/ZeppelinService/zeppelin/{id}" (HTTP-PUT) If an existing Zeppelin entity has to be deleted, the following relative URL should be called: "/ZeppelinService/zeppelin/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Accident columns: - column: Zeppelin - column: Description - column: Fatalities - column: DateTime - column: DamageLevel - column: Location - column: Injuries - column: Mission - column: AccidentType The table should have the title "Accidents" und the data must be loaded from the server with the following relative URL: "/LocationService/accident/zeppelin/{id}" Add a HTML table to the view with the following Flight columns: - column: FlightRoute - column: FlightNumber - column: ScheduledDeparture - column: ScheduledArrival - column: Zeppelin - column: Status The table should have the title "Flights" und the data must be loaded from the server with the following relative URL: "/FlightService/flight/zeppelin/{id}" Add a HTML table to the view with the following Mission columns: - column: War - column: Description - column: EndDateTime - column: StartDateTime - column: MissionType - column: DestinationLocation - column: OriginLocation - column: Zeppelin - column: Outcome - column: MilitaryBranch The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/zeppelin/{id}" Add a HTML table to the view with the following ZeppelinEngine columns: - column: Engine - column: Position - column: Count - column: Zeppelin The table should have the title "ZeppelinEngines" und the data must be loaded from the server with the following relative URL: "/EngineService/zeppelinengine/zeppelin/{id}" Add a HTML table to the view with the following Seat columns: - column: Zeppelin - column: SeatNumber - column: SeatClass The table should have the title "Seats" und the data must be loaded from the server with the following relative URL: "/ZeppelinService/seat/zeppelin/{id}" Add a HTML table to the view with the following Event columns: - column: DateTime - column: Name - column: RelatedZeppelin - column: RelatedOrganization - column: Location - column: EventType - column: Description The table should have the title "Events" und the data must be loaded from the server with the following relative URL: "/OrganizationService/event/relatedzeppelin/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint