Overview
Summary
Contact
Donate
Imprint
Prompt for the
PolicyView
Please create a React-JS view called "PolicyView" for the fields of the Policy entity. The PolicyView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EffectiveDate type: DATE - name: Name type: STRING - name: RetiredDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Policy entity should be loaded from the relative URL: "/PolicyService/policy/{id}" (HTTP-GET) If a new Policy entity has been created, the new entity should be posted to the relative URL: "/PolicyService/policy" (HTTP-POST) If an existing Policy entity has been updated, the modified entity should be sent to the relative URL: "/PolicyService/policy/{id}" (HTTP-PUT) If an existing Policy entity has to be deleted, the following relative URL should be called: "/PolicyService/policy/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PolicyChange columns: - column: Policy - column: Details - column: ChangeDate - column: ChangeSummary The table should have the title "PolicyChanges" und the data must be loaded from the server with the following relative URL: "/PolicyService/policychange/policy/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint