Overview
Summary
Contact
Donate
Imprint
Prompt for the
CountryView
Please create a React-JS view called "CountryView" for the fields of the Country entity. The CountryView must contain the following fields: - name: IsoCode2 type: STRING - name: IsoCode3 type: STRING - name: Name type: STRING - name: Region type: STRING An existing Country entity should be loaded from the relative URL: "/UserAccountService/country/{id}" (HTTP-GET) If a new Country entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/country" (HTTP-POST) If an existing Country entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/country/{id}" (HTTP-PUT) If an existing Country entity has to be deleted, the following relative URL should be called: "/UserAccountService/country/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserAccount columns: - column: CreatedUtc - column: DisplayName - column: IsEmailVerified - column: LastLoginUtc - column: Country - column: UserRole - column: PreferredLanguage - column: TimeZone - column: Email - column: PasswordHash The table should have the title "UserAccounts" und the data must be loaded from the server with the following relative URL: "/UserAccountService/useraccount/country/{id}" Add a HTML table to the view with the following Vessel columns: - column: BuildYear - column: Beam - column: LengthOverall - column: VesselType - column: Draught - column: CallSign - column: ImoNumber - column: GrossTonnage - column: FlagCountry - column: VesselStatus - column: Name - column: Mmsi - column: Deadweight The table should have the title "Vessels" und the data must be loaded from the server with the following relative URL: "/VesselService/vessel/flagcountry/{id}" Add a HTML table to the view with the following VesselIdentifierHistory columns: - column: PreviousFlagCountry - column: PreviousName - column: PreviousMmsi - column: ValidToUtc - column: Vessel - column: PreviousCallSign - column: ValidFromUtc The table should have the title "VesselIdentifierHistorys" und the data must be loaded from the server with the following relative URL: "/FleetService/vesselidentifierhistory/previousflagcountry/{id}" Add a HTML table to the view with the following Port columns: - column: Unlocode - column: TimeZone - column: Name - column: Latitude - column: Country - column: PortType - column: Longitude The table should have the title "Ports" und the data must be loaded from the server with the following relative URL: "/PortService/port/country/{id}" Add a HTML table to the view with the following AisStation columns: - column: ActiveToUtc - column: OwnerUser - column: Latitude - column: ActiveFromUtc - column: ElevationMeters - column: IsActive - column: Longitude - column: StationCode - column: StationType - column: Country - column: Name The table should have the title "AisStations" und the data must be loaded from the server with the following relative URL: "/GeographicalAreaService/aisstation/country/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint