Overview
Summary
Contact
Donate
Imprint
Prompt for the
ContentTypeView
Please create a React-JS view called "ContentTypeView" for the fields of the ContentType entity. 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}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint