Overview
Summary
Contact
Donate
Imprint
Prompt for the
PropertyTypeView
Please create a React-JS view called "PropertyTypeView" for the fields of the PropertyType entity. The PropertyTypeView must contain the following fields: - name: Code type: STRING - name: Name type: STRING An existing PropertyType entity should be loaded from the relative URL: "/PropertyService/propertytype/{id}" (HTTP-GET) If a new PropertyType entity has been created, the new entity should be posted to the relative URL: "/PropertyService/propertytype" (HTTP-POST) If an existing PropertyType entity has been updated, the modified entity should be sent to the relative URL: "/PropertyService/propertytype/{id}" (HTTP-PUT) If an existing PropertyType entity has to be deleted, the following relative URL should be called: "/PropertyService/propertytype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Property columns: - column: Latitude - column: StarRating - column: AddressLine1 - column: LocationCity - column: AddressLine2 - column: PropertyType - column: LocationDistrict - column: IsActive - column: PostalCode - column: CheckInTo - column: LocationCountry - column: CreatedAt - column: CheckOutFrom - column: PartnerAccount - column: Longitude - column: CheckInFrom - column: CheckOutTo - column: Name The table should have the title "Propertys" und the data must be loaded from the server with the following relative URL: "/PropertyService/property/propertytype/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint