Overview
Summary
Contact
Donate
Imprint
Prompt for the
SpaceAgencyView
Please create a React-JS view called "SpaceAgencyView" for the fields of the SpaceAgency entity. The SpaceAgencyView must contain the following fields: - name: Country type: Country - name: FoundedYear type: INT - name: Name type: STRING - name: Notes type: STRING - name: Type type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing SpaceAgency entity should be loaded from the relative URL: "/SpaceAgencyService/spaceagency/{id}" (HTTP-GET) If a new SpaceAgency entity has been created, the new entity should be posted to the relative URL: "/SpaceAgencyService/spaceagency" (HTTP-POST) If an existing SpaceAgency entity has been updated, the modified entity should be sent to the relative URL: "/SpaceAgencyService/spaceagency/{id}" (HTTP-PUT) If an existing SpaceAgency entity has to be deleted, the following relative URL should be called: "/SpaceAgencyService/spaceagency/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CrewedProgram columns: - column: Country - column: SpaceAgency - column: StartYear - column: EndYear - column: Notes - column: Name The table should have the title "CrewedPrograms" und the data must be loaded from the server with the following relative URL: "/CountryService/crewedprogram/spaceagency/{id}" Add a HTML table to the view with the following SpaceportAgencyRole columns: - column: ToDate - column: Spaceport - column: Role - column: FromDate - column: SpaceAgency The table should have the title "SpaceportAgencyRoles" und the data must be loaded from the server with the following relative URL: "/SpaceAgencyService/spaceportagencyrole/spaceagency/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint