Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NewsArticleView
Please create a React-JS view called "NewsArticleView" for the fields of the NewsArticle entity. The NewsArticleView must contain the following fields: - name: Content type: STRING - name: Event type: Event - name: IsHighlighted type: BOOL - name: PublishedAt type: DATE - name: Slug type: STRING - name: Teaser type: STRING - name: Title type: STRING The data source for the [Event] select control should be loaded from the relative URL: "/EventService/event" (HTTP-GET) An existing NewsArticle entity should be loaded from the relative URL: "/EventSeriesService/newsarticle/{id}" (HTTP-GET) If a new NewsArticle entity has been created, the new entity should be posted to the relative URL: "/EventSeriesService/newsarticle" (HTTP-POST) If an existing NewsArticle entity has been updated, the modified entity should be sent to the relative URL: "/EventSeriesService/newsarticle/{id}" (HTTP-PUT) If an existing NewsArticle entity has to be deleted, the following relative URL should be called: "/EventSeriesService/newsarticle/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum