Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
DienstgradView
Please create a React-JS view called "DienstgradView" for the fields of the Dienstgrad entity. The DienstgradView must contain the following fields: - name: Abkuerzung type: STRING - name: IstMilitaerisch type: BOOL - name: Name type: STRING - name: Polizei type: Polizei - name: RangStufe type: INT The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing Dienstgrad entity should be loaded from the relative URL: "/ZustandsEbeneService/dienstgrad/{id}" (HTTP-GET) If a new Dienstgrad entity has been created, the new entity should be posted to the relative URL: "/ZustandsEbeneService/dienstgrad" (HTTP-POST) If an existing Dienstgrad entity has been updated, the modified entity should be sent to the relative URL: "/ZustandsEbeneService/dienstgrad/{id}" (HTTP-PUT) If an existing Dienstgrad entity has to be deleted, the following relative URL should be called: "/ZustandsEbeneService/dienstgrad/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beamter columns: - column: Geburtsdatum - column: Notizen - column: Polizei - column: Dienstnummer - column: Dienstgrad - column: Nachname - column: Vorname - column: Aktiv - column: Einstellungsdatum The table should have the title "Beamters" und the data must be loaded from the server with the following relative URL: "/ZustandsEbeneService/beamter/dienstgrad/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum