Overview
Summary
Contact
Donate
Imprint
Prompt for the
PersonView
Please create a React-JS view called "PersonView" for the fields of the Person entity. The PersonView must contain the following fields: - name: Bio type: STRING - name: BirthDate type: DATE - name: BirthPlace type: STRING - name: DeathDate type: DATE - name: Gender type: STRING - name: PhotoUrl type: STRING - name: PrimaryName type: STRING - name: PrimaryProfession type: STRING An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EditorialArticlePerson columns: - column: Person - column: Position - column: EditorialArticle The table should have the title "EditorialArticlePersons" und the data must be loaded from the server with the following relative URL: "/EditorialArticleService/editorialarticleperson/person/{id}" Add a HTML table to the view with the following MediaItem columns: - column: Title - column: Person - column: MediaType - column: DurationSeconds - column: PublishedAt - column: ThumbnailUrl - column: Url - column: Caption The table should have the title "MediaItems" und the data must be loaded from the server with the following relative URL: "/JobTypeService/mediaitem/person/{id}" Add a HTML table to the view with the following TitleCrew columns: - column: Department - column: Person - column: Title - column: Job The table should have the title "TitleCrews" und the data must be loaded from the server with the following relative URL: "/PersonService/titlecrew/person/{id}" Add a HTML table to the view with the following UserListItem columns: - column: Position - column: UserList - column: Notes - column: AddedAt - column: Person - column: Title The table should have the title "UserListItems" und the data must be loaded from the server with the following relative URL: "/PersonService/userlistitem/person/{id}" Add a HTML table to the view with the following TitleCast columns: - column: CreditOrder - column: IsGuestAppearance - column: Person - column: RoleDescription - column: Character - column: Title - column: IsUncredited The table should have the title "TitleCasts" und the data must be loaded from the server with the following relative URL: "/PersonService/titlecast/person/{id}" Add a HTML table to the view with the following PersonAward columns: - column: AwardEventEdition - column: AwardCategory - column: Person - column: Title - column: Notes - column: IsWinner The table should have the title "PersonAwards" und the data must be loaded from the server with the following relative URL: "/AwardEventEditionService/personaward/person/{id}" Add a HTML table to the view with the following PollOption columns: - column: Position - column: Title - column: Text - column: Person - column: Poll The table should have the title "PollOptions" und the data must be loaded from the server with the following relative URL: "/PersonService/polloption/person/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint