Overview
Summary
Contact
Donate
Imprint
Prompt for the
SessionView
Please create a React-JS view called "SessionView" for the fields of the Session entity. The SessionView must contain the following fields: - name: Device type: Device - name: EndedAt type: STRING - name: IpAddress type: STRING - name: IsActive type: BOOL - name: StartedAt type: STRING - name: User type: UserAccount - name: UserAgent type: STRING The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Device] select control should be loaded from the relative URL: "/UserAccountService/device" (HTTP-GET) An existing Session entity should be loaded from the relative URL: "/UserAccountService/session/{id}" (HTTP-GET) If a new Session entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/session" (HTTP-POST) If an existing Session entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/session/{id}" (HTTP-PUT) If an existing Session entity has to be deleted, the following relative URL should be called: "/UserAccountService/session/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint