Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProtocolView
Please create a React-JS view called "ProtocolView" for the fields of the Protocol entity. The ProtocolView must contain the following fields: - name: Description type: STRING - name: InitialReleaseDate type: DATE - name: IsOpenStandard type: BOOL - name: Name type: STRING An existing Protocol entity should be loaded from the relative URL: "/ProtocolService/protocol/{id}" (HTTP-GET) If a new Protocol entity has been created, the new entity should be posted to the relative URL: "/ProtocolService/protocol" (HTTP-POST) If an existing Protocol entity has been updated, the modified entity should be sent to the relative URL: "/ProtocolService/protocol/{id}" (HTTP-PUT) If an existing Protocol entity has to be deleted, the following relative URL should be called: "/ProtocolService/protocol/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProtocolFeature columns: - column: Description - column: Protocol - column: Name The table should have the title "ProtocolFeatures" und the data must be loaded from the server with the following relative URL: "/ProtocolService/protocolfeature/protocol/{id}" Add a HTML table to the view with the following ProtocolParticipant columns: - column: Role - column: Protocol - column: Company The table should have the title "ProtocolParticipants" und the data must be loaded from the server with the following relative URL: "/CompanyService/protocolparticipant/protocol/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint