Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NewsPostView
Please create a React-JS view called "NewsPostView" for the fields of the NewsPost entity. The NewsPostView must contain the following fields: - name: BodyHtml type: STRING - name: CreatedAt type: DATE - name: Highlighted type: BOOL - name: IsVisible type: BOOL - name: PublishedAt type: DATE - name: Slug type: STRING - name: Title type: STRING An existing NewsPost entity should be loaded from the relative URL: "/CourtService/newspost/{id}" (HTTP-GET) If a new NewsPost entity has been created, the new entity should be posted to the relative URL: "/CourtService/newspost" (HTTP-POST) If an existing NewsPost entity has been updated, the modified entity should be sent to the relative URL: "/CourtService/newspost/{id}" (HTTP-PUT) If an existing NewsPost entity has to be deleted, the following relative URL should be called: "/CourtService/newspost/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum