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: Category type: STRING - name: CreatedAt type: DATE - name: DisplayName type: STRING - name: LegalName type: STRING - name: Status type: STRING - name: UserAccount type: UserAccount - name: WebsiteUrl type: STRING The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Merchant entity should be loaded from the relative URL: "/MerchantService/merchant/{id}" (HTTP-GET) If a new Merchant entity has been created, the new entity should be posted to the relative URL: "/MerchantService/merchant" (HTTP-POST) If an existing Merchant entity has been updated, the modified entity should be sent to the relative URL: "/MerchantService/merchant/{id}" (HTTP-PUT) If an existing Merchant entity has to be deleted, the following relative URL should be called: "/MerchantService/merchant/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SubscriptionPlan columns: - column: BillingFrequency - column: Amount - column: Status - column: TrialDays - column: Description - column: Merchant - column: Currency - column: Name - column: BillingInterval The table should have the title "SubscriptionPlans" und the data must be loaded from the server with the following relative URL: "/SubscriptionService/subscriptionplan/merchant/{id}" Add a HTML table to the view with the following Transaction columns: - column: CompletedAt - column: SenderUserAccount - column: ReceiverUserAccount - column: CreatedAt - column: Merchant - column: Status - column: Type - column: NetAmount - column: FundingSource - column: Amount - column: FeeAmount - column: ExternalReference - column: Currency The table should have the title "Transactions" und the data must be loaded from the server with the following relative URL: "/TransactionService/transaction/merchant/{id}" Add a HTML table to the view with the following MerchantBusinessInfo columns: - column: EstablishedAt - column: Merchant - column: RegistrationNumber - column: IndustryCode - column: TaxNumber The table should have the title "MerchantBusinessInfos" und the data must be loaded from the server with the following relative URL: "/MerchantService/merchantbusinessinfo/merchant/{id}" Add a HTML table to the view with the following MerchantApiCredential columns: - column: LastUsedAt - column: Merchant - column: Status - column: CreatedAt - column: ClientSecretHash - column: ClientId The table should have the title "MerchantApiCredentials" und the data must be loaded from the server with the following relative URL: "/MerchantService/merchantapicredential/merchant/{id}" Add a HTML table to the view with the following MerchantAddress columns: - column: PostalCode - column: State - column: AddressType - column: Merchant - column: City - column: Line2 - column: Line1 - column: Country The table should have the title "MerchantAddresss" und the data must be loaded from the server with the following relative URL: "/MerchantService/merchantaddress/merchant/{id}" Add a HTML table to the view with the following Invoice columns: - column: BilledUserAccount - column: IssueDate - column: Transaction - column: Notes - column: TotalAmount - column: DueDate - column: Status - column: Merchant - column: Currency - column: Number The table should have the title "Invoices" und the data must be loaded from the server with the following relative URL: "/CurrencyService/invoice/merchant/{id}" Add a HTML table to the view with the following MerchantWebsite columns: - column: Status - column: Merchant - column: Url - column: VerifiedAt The table should have the title "MerchantWebsites" und the data must be loaded from the server with the following relative URL: "/MerchantService/merchantwebsite/merchant/{id}" Add a HTML table to the view with the following SecurityIncident columns: - column: Severity - column: Description - column: DetectedAt - column: Type - column: ResolvedAt - column: Merchant - column: UserAccount The table should have the title "SecurityIncidents" und the data must be loaded from the server with the following relative URL: "/RegionService/securityincident/merchant/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint