Overview
Summary
Contact
Donate
Imprint
Prompt for the
ContentTypeApp
Please create a React-JS application for the ContentTypeModule. The application has to offer the following views for the user interface: 1. ContentTypeView 2. LawsuitView 3. LawsuitPartyView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The ContentTypeView must contain the following fields: - name: Name type: STRING An existing ContentType entity should be loaded from the relative URL: "/ContentTypeService/contenttype/{id}" (HTTP-GET) If a new ContentType entity has been created, the new entity should be posted to the relative URL: "/ContentTypeService/contenttype" (HTTP-POST) If an existing ContentType entity has been updated, the modified entity should be sent to the relative URL: "/ContentTypeService/contenttype/{id}" (HTTP-PUT) If an existing ContentType entity has to be deleted, the following relative URL should be called: "/ContentTypeService/contenttype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ContentTitle columns: - column: ProductionCompany - column: ReleaseDate - column: Synopsis - column: ImdbId - column: OriginalTitle - column: IsNetflixOriginal - column: ContentType - column: LocalizedTitle - column: RuntimeMinutes The table should have the title "ContentTitles" und the data must be loaded from the server with the following relative URL: "/ContentTitleService/contenttitle/contenttype/{id}" 2. The LawsuitView must contain the following fields: - name: Court type: STRING - name: Description type: STRING - name: FilingDate type: DATE - name: Name type: STRING - name: Outcome type: STRING - name: ResolutionDate type: DATE An existing Lawsuit entity should be loaded from the relative URL: "/ContentTypeService/lawsuit/{id}" (HTTP-GET) If a new Lawsuit entity has been created, the new entity should be posted to the relative URL: "/ContentTypeService/lawsuit" (HTTP-POST) If an existing Lawsuit entity has been updated, the modified entity should be sent to the relative URL: "/ContentTypeService/lawsuit/{id}" (HTTP-PUT) If an existing Lawsuit entity has to be deleted, the following relative URL should be called: "/ContentTypeService/lawsuit/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LawsuitParty columns: - column: Lawsuit - column: Company - column: Role The table should have the title "LawsuitPartys" und the data must be loaded from the server with the following relative URL: "/ContentTypeService/lawsuitparty/lawsuit/{id}" 3. The LawsuitPartyView must contain the following fields: - name: Company type: Company - name: Lawsuit type: Lawsuit - name: Role type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Lawsuit] select control should be loaded from the relative URL: "/ContentTypeService/lawsuit" (HTTP-GET) An existing LawsuitParty entity should be loaded from the relative URL: "/ContentTypeService/lawsuitparty/{id}" (HTTP-GET) If a new LawsuitParty entity has been created, the new entity should be posted to the relative URL: "/ContentTypeService/lawsuitparty" (HTTP-POST) If an existing LawsuitParty entity has been updated, the modified entity should be sent to the relative URL: "/ContentTypeService/lawsuitparty/{id}" (HTTP-PUT) If an existing LawsuitParty entity has to be deleted, the following relative URL should be called: "/ContentTypeService/lawsuitparty/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint