Overview
Summary
Contact
Donate
Imprint
Prompt for the
SatelliteView
Please create a React-JS view called "SatelliteView" for the fields of the Satellite entity. The SatelliteView must contain the following fields: - name: DesignLifeYears type: STRING - name: Notes type: STRING - name: Operator type: Company - name: Payload type: Payload - name: Purpose type: STRING The data source for the [Operator] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Payload] select control should be loaded from the relative URL: "/CustomerService/payload" (HTTP-GET) An existing Satellite entity should be loaded from the relative URL: "/CustomerService/satellite/{id}" (HTTP-GET) If a new Satellite entity has been created, the new entity should be posted to the relative URL: "/CustomerService/satellite" (HTTP-POST) If an existing Satellite entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/satellite/{id}" (HTTP-PUT) If an existing Satellite entity has to be deleted, the following relative URL should be called: "/CustomerService/satellite/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StarlinkSatellite columns: - column: Plane - column: StarlinkNetwork - column: Notes - column: Shell - column: Slot - column: Satellite - column: Block The table should have the title "StarlinkSatellites" und the data must be loaded from the server with the following relative URL: "/StarlinkNetworkService/starlinksatellite/satellite/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint