Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyView
Please create a React-JS view called "CompanyView" for the fields of the Company entity. The CompanyView must contain the following fields: - name: Description type: STRING - name: FoundedDate type: DATE - name: HeadquartersCity type: STRING - name: HeadquartersCountry type: STRING - name: Name type: STRING - name: Website type: STRING An existing Company entity should be loaded from the relative URL: "/CompanyService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CompanyService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CompanyService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LicenseAgreement columns: - column: LicensorCompany - column: IsExclusive - column: LicenseEnd - column: LicenseStart - column: TerritoryScope - column: Title The table should have the title "LicenseAgreements" und the data must be loaded from the server with the following relative URL: "/CompanyService/licenseagreement/licensorcompany/{id}" Add a HTML table to the view with the following Channel columns: - column: Name - column: IsLive - column: Description - column: ProviderCompany - column: Website The table should have the title "Channels" und the data must be loaded from the server with the following relative URL: "/ChannelService/channel/providercompany/{id}" Add a HTML table to the view with the following Service columns: - column: LaunchDate - column: Name - column: OwnerCompany - column: Type - column: Description The table should have the title "Services" und the data must be loaded from the server with the following relative URL: "/ServiceService/service/ownercompany/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint