Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HafenView
Please create a React-JS view called "HafenView" for the fields of the Hafen entity. The HafenView must contain the following fields: - name: IstInselHafen type: BOOL - name: IstKleinHafen type: BOOL - name: IstKvStandort type: BOOL - name: IstSeeHafen type: BOOL - name: Name type: STRING - name: Notizen type: STRING - name: Ort type: STRING - name: Region type: STRING An existing Hafen entity should be loaded from the relative URL: "/HafenService/hafen/{id}" (HTTP-GET) If a new Hafen entity has been created, the new entity should be posted to the relative URL: "/HafenService/hafen" (HTTP-POST) If an existing Hafen entity has been updated, the modified entity should be sent to the relative URL: "/HafenService/hafen/{id}" (HTTP-PUT) If an existing Hafen entity has to be deleted, the following relative URL should be called: "/HafenService/hafen/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FaehrenRoute columns: - column: Notizen - column: IstFracht - column: Name - column: Region - column: HafenZiel - column: IstPassagier - column: HafenStart The table should have the title "FaehrenRoutes" und the data must be loaded from the server with the following relative URL: "/HafenService/faehrenroute/hafenziel/{id}" Add a HTML table to the view with the following FaehrenRoute columns: - column: Notizen - column: IstFracht - column: Name - column: Region - column: HafenZiel - column: IstPassagier - column: HafenStart The table should have the title "FaehrenRoutes" und the data must be loaded from the server with the following relative URL: "/HafenService/faehrenroute/hafenstart/{id}" Add a HTML table to the view with the following KvTerminal columns: - column: Notizen - column: Name - column: Ort - column: IstGeplant - column: Hafen - column: EroeffnungsJahr The table should have the title "KvTerminals" und the data must be loaded from the server with the following relative URL: "/HafenService/kvterminal/hafen/{id}" Add a HTML table to the view with the following HafenVerkehrsStatistik columns: - column: Hafen - column: IstBvwpBezug - column: VerkehrsStatistik - column: IstPrognose The table should have the title "HafenVerkehrsStatistiks" und the data must be loaded from the server with the following relative URL: "/HafenService/hafenverkehrsstatistik/hafen/{id}" Add a HTML table to the view with the following InfrastrukturProjektHafen columns: - column: InfrastrukturProjekt - column: Hafen - column: Rolle The table should have the title "InfrastrukturProjektHafens" und the data must be loaded from the server with the following relative URL: "/WasserstrasseService/infrastrukturprojekthafen/hafen/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum