Overview
Summary
Contact
Donate
Imprint
Prompt for the
LogisticsPartnerApp
Please create a React-JS application for the LogisticsPartnerModule. The application has to offer the following views for the user interface: 1. DataBreachView 2. LogisticsArrangementView 3. LogisticsPartnerView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The DataBreachView must contain the following fields: - name: AffectedCustomersCount type: LONG - name: AffectedMerchantsCount type: LONG - name: Company type: Company - name: DataTypesExposed type: STRING - name: Description type: STRING - name: IncidentDate type: DATE - name: ReportedToAuthority type: BOOL - name: ResolutionSummary type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing DataBreach entity should be loaded from the relative URL: "/LogisticsPartnerService/databreach/{id}" (HTTP-GET) If a new DataBreach entity has been created, the new entity should be posted to the relative URL: "/LogisticsPartnerService/databreach" (HTTP-POST) If an existing DataBreach entity has been updated, the modified entity should be sent to the relative URL: "/LogisticsPartnerService/databreach/{id}" (HTTP-PUT) If an existing DataBreach entity has to be deleted, the following relative URL should be called: "/LogisticsPartnerService/databreach/{id}" (HTTP-DELETE) 2. The LogisticsArrangementView must contain the following fields: - name: ArrangementType type: STRING - name: Company type: Company - name: EndDate type: DATE - name: LogisticsPartner type: LogisticsPartner - name: Notes type: STRING - name: StartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [LogisticsPartner] select control should be loaded from the relative URL: "/LogisticsPartnerService/logisticspartner" (HTTP-GET) An existing LogisticsArrangement entity should be loaded from the relative URL: "/LogisticsPartnerService/logisticsarrangement/{id}" (HTTP-GET) If a new LogisticsArrangement entity has been created, the new entity should be posted to the relative URL: "/LogisticsPartnerService/logisticsarrangement" (HTTP-POST) If an existing LogisticsArrangement entity has been updated, the modified entity should be sent to the relative URL: "/LogisticsPartnerService/logisticsarrangement/{id}" (HTTP-PUT) If an existing LogisticsArrangement entity has to be deleted, the following relative URL should be called: "/LogisticsPartnerService/logisticsarrangement/{id}" (HTTP-DELETE) 3. The LogisticsPartnerView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: PartnershipEndDate type: DATE - name: PartnershipStartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing LogisticsPartner entity should be loaded from the relative URL: "/LogisticsPartnerService/logisticspartner/{id}" (HTTP-GET) If a new LogisticsPartner entity has been created, the new entity should be posted to the relative URL: "/LogisticsPartnerService/logisticspartner" (HTTP-POST) If an existing LogisticsPartner entity has been updated, the modified entity should be sent to the relative URL: "/LogisticsPartnerService/logisticspartner/{id}" (HTTP-PUT) If an existing LogisticsPartner entity has to be deleted, the following relative URL should be called: "/LogisticsPartnerService/logisticspartner/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LogisticsArrangement columns: - column: EndDate - column: LogisticsPartner - column: StartDate - column: Notes - column: ArrangementType - column: Company The table should have the title "LogisticsArrangements" und the data must be loaded from the server with the following relative URL: "/LogisticsPartnerService/logisticsarrangement/logisticspartner/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint