Overview
Summary
Contact
Donate
Imprint
Prompt for the
PayloadView
Please create a React-JS view called "PayloadView" for the fields of the Payload entity. The PayloadView must contain the following fields: - name: Customer type: Customer - name: Description type: STRING - name: MassKg type: STRING - name: Name type: STRING - name: PayloadType type: STRING The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) An existing Payload entity should be loaded from the relative URL: "/CustomerService/payload/{id}" (HTTP-GET) If a new Payload entity has been created, the new entity should be posted to the relative URL: "/CustomerService/payload" (HTTP-POST) If an existing Payload entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/payload/{id}" (HTTP-PUT) If an existing Payload entity has to be deleted, the following relative URL should be called: "/CustomerService/payload/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MissionPayload columns: - column: Notes - column: Payload - column: PrimaryPayload - column: Deployed - column: DeploymentTime - column: Mission The table should have the title "MissionPayloads" und the data must be loaded from the server with the following relative URL: "/CustomerService/missionpayload/payload/{id}" Add a HTML table to the view with the following Satellite columns: - column: Notes - column: Purpose - column: DesignLifeYears - column: Payload - column: Operator The table should have the title "Satellites" und the data must be loaded from the server with the following relative URL: "/CustomerService/satellite/payload/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint