Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
CrewMemberView
Please create a React-JS view called "CrewMemberView" for the fields of the CrewMember entity. The CrewMemberView must contain the following fields: - name: Airline type: Airline - name: EmployeeNumber type: STRING - name: FirstName type: STRING - name: HireDate type: DATE - name: LastName type: STRING - name: Role type: STRING - name: Status type: STRING The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) An existing CrewMember entity should be loaded from the relative URL: "/AirlineService/crewmember/{id}" (HTTP-GET) If a new CrewMember entity has been created, the new entity should be posted to the relative URL: "/AirlineService/crewmember" (HTTP-POST) If an existing CrewMember entity has been updated, the modified entity should be sent to the relative URL: "/AirlineService/crewmember/{id}" (HTTP-PUT) If an existing CrewMember entity has to be deleted, the following relative URL should be called: "/AirlineService/crewmember/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FlightCrewAssignment columns: - column: CheckOutTime - column: DutyRole - column: FlightInstance - column: CheckInTime - column: CrewMember The table should have the title "FlightCrewAssignments" und the data must be loaded from the server with the following relative URL: "/FlightInstanceService/flightcrewassignment/crewmember/{id}" Add a HTML table to the view with the following CrewQualification columns: - column: CrewMember - column: ValidFrom - column: AircraftModel - column: ValidTo - column: QualificationType The table should have the title "CrewQualifications" und the data must be loaded from the server with the following relative URL: "/AircraftModelService/crewqualification/crewmember/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint