Overview
Summary
Contact
Donate
Imprint
Prompt for the
SafetyNumberView
Please create a React-JS view called "SafetyNumberView" for the fields of the SafetyNumber entity. The SafetyNumberView must contain the following fields: - name: CreatedAt type: DATE - name: IsCurrent type: BOOL - name: SafetyNumberValue type: STRING - name: UserAccountA type: UserAccount - name: UserAccountB type: UserAccount The data source for the [UserAccountB] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [UserAccountA] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing SafetyNumber entity should be loaded from the relative URL: "/SafetyNumberService/safetynumber/{id}" (HTTP-GET) If a new SafetyNumber entity has been created, the new entity should be posted to the relative URL: "/SafetyNumberService/safetynumber" (HTTP-POST) If an existing SafetyNumber entity has been updated, the modified entity should be sent to the relative URL: "/SafetyNumberService/safetynumber/{id}" (HTTP-PUT) If an existing SafetyNumber entity has to be deleted, the following relative URL should be called: "/SafetyNumberService/safetynumber/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerificationEvent columns: - column: CreatedAt - column: VerifiedUserAccount - column: VerifierUserAccount - column: EventType - column: SafetyNumber The table should have the title "VerificationEvents" und the data must be loaded from the server with the following relative URL: "/SafetyNumberService/verificationevent/safetynumber/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint