Overview
Summary
Contact
Donate
Imprint
Prompt for the
LaunchVehicleView
Please create a React-JS view called "LaunchVehicleView" for the fields of the LaunchVehicle entity. The LaunchVehicleView must contain the following fields: - name: Country type: Country - name: IsCrewedCapable type: BOOL - name: Name type: STRING - name: Notes type: STRING - name: Operator type: Operator - name: Type type: STRING The data source for the [Operator] select control should be loaded from the relative URL: "/OperatorService/operator" (HTTP-GET) The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing LaunchVehicle entity should be loaded from the relative URL: "/LaunchVehicleService/launchvehicle/{id}" (HTTP-GET) If a new LaunchVehicle entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/launchvehicle" (HTTP-POST) If an existing LaunchVehicle entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/launchvehicle/{id}" (HTTP-PUT) If an existing LaunchVehicle entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/launchvehicle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SpaceportLaunchVehicleUsage columns: - column: LaunchVehicle - column: IsPlanned - column: Spaceport - column: FromDate - column: Notes - column: ToDate The table should have the title "SpaceportLaunchVehicleUsages" und the data must be loaded from the server with the following relative URL: "/OperatorService/spaceportlaunchvehicleusage/launchvehicle/{id}" Add a HTML table to the view with the following Launch columns: - column: IsSuccessful - column: Notes - column: IsCrewed - column: MissionName - column: LaunchPad - column: LaunchDate - column: Spaceport - column: OrbitType - column: LaunchVehicle The table should have the title "Launchs" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/launch/launchvehicle/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint