Overview
Summary
Contact
Donate
Imprint
Prompt for the
LocationView
Please create a React-JS view called "LocationView" for the fields of the Location entity. The LocationView must contain the following fields: - name: Country type: Country - name: Latitude type: STRING - name: LocationType type: STRING - name: Longitude type: STRING - name: Name type: STRING - name: Region type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Location entity should be loaded from the relative URL: "/LocationService/location/{id}" (HTTP-GET) If a new Location entity has been created, the new entity should be posted to the relative URL: "/LocationService/location" (HTTP-POST) If an existing Location entity has been updated, the modified entity should be sent to the relative URL: "/LocationService/location/{id}" (HTTP-PUT) If an existing Location entity has to be deleted, the following relative URL should be called: "/LocationService/location/{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/location/{id}" Add a HTML table to the view with the following Restaurant columns: - column: Description - column: RelatedHangar - column: Name - column: Location - column: Website The table should have the title "Restaurants" und the data must be loaded from the server with the following relative URL: "/RestaurantService/restaurant/location/{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/destinationlocation/{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/originlocation/{id}" Add a HTML table to the view with the following Zeppelin columns: - column: Code - column: ConstructionNumber - column: FirstFlightDate - column: LastFlightDate - column: ZeppelinClass - column: HomeBaseLocation - column: Status - column: Name - column: Operator - column: Notes The table should have the title "Zeppelins" und the data must be loaded from the server with the following relative URL: "/ZeppelinService/zeppelin/homebaselocation/{id}" Add a HTML table to the view with the following Hangar columns: - column: Capacity - column: Location - column: HeightMeters - column: Name - column: BuiltYear - column: WidthMeters - column: LengthMeters The table should have the title "Hangars" und the data must be loaded from the server with the following relative URL: "/LocationService/hangar/location/{id}" Add a HTML table to the view with the following Organization columns: - column: OrganizationType - column: HeadquartersLocation - column: Website - column: FoundedOn - column: Name The table should have the title "Organizations" und the data must be loaded from the server with the following relative URL: "/OrganizationService/organization/headquarterslocation/{id}" Add a HTML table to the view with the following FlightRoute columns: - column: DurationMinutes - column: Description - column: DepartureLocation - column: Name - column: DefaultHangar - column: ArrivalLocation - column: Region - column: DistanceKm The table should have the title "FlightRoutes" und the data must be loaded from the server with the following relative URL: "/LocationService/flightroute/arrivallocation/{id}" Add a HTML table to the view with the following FlightRoute columns: - column: DurationMinutes - column: Description - column: DepartureLocation - column: Name - column: DefaultHangar - column: ArrivalLocation - column: Region - column: DistanceKm The table should have the title "FlightRoutes" und the data must be loaded from the server with the following relative URL: "/LocationService/flightroute/departurelocation/{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/location/{id}" Add a HTML table to the view with the following Memorial columns: - column: UnveiledOn - column: RelatedAccident - column: Location - column: Name - column: Description The table should have the title "Memorials" und the data must be loaded from the server with the following relative URL: "/EngineService/memorial/location/{id}" Add a HTML table to the view with the following JobPosting columns: - column: ExpiresOn - column: Department - column: Title - column: Description - column: Organization - column: PostedOn - column: Location - column: EmploymentType The table should have the title "JobPostings" und the data must be loaded from the server with the following relative URL: "/LocationService/jobposting/location/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint