Overview
Summary
Contact
Donate
Imprint
Prompt for the
ApiClientView
Please create a React-JS view called "ApiClientView" for the fields of the ApiClient entity. The ApiClientView must contain the following fields: - name: ClientKey type: STRING - name: ClientName type: STRING - name: ClientSecretHash type: STRING - name: CreatedUtc type: DATE - name: IsActive type: BOOL - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing ApiClient entity should be loaded from the relative URL: "/ApiClientService/apiclient/{id}" (HTTP-GET) If a new ApiClient entity has been created, the new entity should be posted to the relative URL: "/ApiClientService/apiclient" (HTTP-POST) If an existing ApiClient entity has been updated, the modified entity should be sent to the relative URL: "/ApiClientService/apiclient/{id}" (HTTP-PUT) If an existing ApiClient entity has to be deleted, the following relative URL should be called: "/ApiClientService/apiclient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ApiUsageLog columns: - column: ApiClient - column: ResponseStatusCode - column: RequestTimestampUtc - column: BytesSent - column: BytesReceived - column: Endpoint The table should have the title "ApiUsageLogs" und the data must be loaded from the server with the following relative URL: "/ApiClientService/apiusagelog/apiclient/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint