Overview
Summary
Contact
Donate
Imprint
Prompt for the
MerchantView
Please create a React-JS view called "MerchantView" for the fields of the Merchant entity. The MerchantView must contain the following fields: - name: Company type: Company - name: Country type: STRING - name: Industry type: STRING - name: IsActive type: BOOL - name: IsShopifyPlus type: BOOL - name: MerchantSize type: STRING - name: OnboardingDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Merchant entity should be loaded from the relative URL: "/AppService/merchant/{id}" (HTTP-GET) If a new Merchant entity has been created, the new entity should be posted to the relative URL: "/AppService/merchant" (HTTP-POST) If an existing Merchant entity has been updated, the modified entity should be sent to the relative URL: "/AppService/merchant/{id}" (HTTP-PUT) If an existing Merchant entity has to be deleted, the following relative URL should be called: "/AppService/merchant/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MerchantAppInstallation columns: - column: App - column: Merchant - column: InstallDate - column: UninstallDate - column: MonthlyRevenueShareUsd The table should have the title "MerchantAppInstallations" und the data must be loaded from the server with the following relative URL: "/AppService/merchantappinstallation/merchant/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint