Overview
Summary
Contact
Donate
Imprint
Prompt for the
PartnerAccountView
Please create a React-JS view called "PartnerAccountView" for the fields of the PartnerAccount entity. The PartnerAccountView must contain the following fields: - name: CompanyName type: STRING - name: ContactName type: STRING - name: CreatedAt type: DATE - name: Email type: STRING - name: IsActive type: BOOL - name: PhoneNumber type: STRING An existing PartnerAccount entity should be loaded from the relative URL: "/PartnerAccountService/partneraccount/{id}" (HTTP-GET) If a new PartnerAccount entity has been created, the new entity should be posted to the relative URL: "/PartnerAccountService/partneraccount" (HTTP-POST) If an existing PartnerAccount entity has been updated, the modified entity should be sent to the relative URL: "/PartnerAccountService/partneraccount/{id}" (HTTP-PUT) If an existing PartnerAccount entity has to be deleted, the following relative URL should be called: "/PartnerAccountService/partneraccount/{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/partneraccount/{id}" Add a HTML table to the view with the following AirportTransferProvider columns: - column: PartnerAccount - column: Name - column: ContactPhone - column: ContactEmail The table should have the title "AirportTransferProviders" und the data must be loaded from the server with the following relative URL: "/PartnerAccountService/airporttransferprovider/partneraccount/{id}" Add a HTML table to the view with the following CarRentalLocation columns: - column: Latitude - column: PostalCode - column: Longitude - column: AddressLine2 - column: LocationCity - column: Name - column: PartnerAccount - column: AddressLine1 The table should have the title "CarRentalLocations" und the data must be loaded from the server with the following relative URL: "/CarRentalLocationService/carrentallocation/partneraccount/{id}" Add a HTML table to the view with the following Attraction columns: - column: Description - column: Name - column: Latitude - column: Longitude - column: AddressLine2 - column: LocationCity - column: PartnerAccount - column: AddressLine1 - column: PostalCode The table should have the title "Attractions" und the data must be loaded from the server with the following relative URL: "/PartnerAccountService/attraction/partneraccount/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint