Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AccidentView
Please create a React-JS view called "AccidentView" for the fields of the Accident entity. The AccidentView must contain the following fields: - name: Description type: STRING - name: Student type: Student - name: AccidentDate type: DATE The data source for the [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) An existing Accident entity should be loaded from the relative URL: "/StudentService/accident/{id}" (HTTP-GET) If a new Accident entity has been created, the new entity should be posted to the relative URL: "/StudentService/accident" (HTTP-POST) If an existing Accident entity has been updated, the modified entity should be sent to the relative URL: "/StudentService/accident/{id}" (HTTP-PUT) If an existing Accident entity has to be deleted, the following relative URL should be called: "/StudentService/accident/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum