---
title: "Report of all active and completed activities for current user by attempt number"
method: POST
path: "/LessonReport/GetUserActivityReportByAttempt"
tags: ["LessonReport"]
---

# Report of all active and completed activities for current user by attempt number

`POST /LessonReport/GetUserActivityReportByAttempt`

## Headers

- `X-Version` string

## Request body

- GetUserActivityReportByAttemptRequest
  - `lessonId` integer, required — lesson identifier
  - `attempt` integer, required — attempt identifier

## Response `200`

Success

- GetUserActivityReportByAttemptResponse[]
  - `activityId` integer — activity identifier
  - `userId` integer — user identifier
  - `sessionId` integer — session identifier
  - `activityName` string, nullable — name given to activity
  - `userName` string, nullable — name of user completing the activity
  - `givenScore` integer, nullable — given score of activity attempt
  - `maxScore` integer — maximum score user can be given
  - `totalMinutes` number, double — total time spent completing activity
  - `isComplete` boolean — false indicates activity is paused, true indicates activity has ended
  - `attempt` integer — nth time user has attempted lesson
  - `startTime` string, date-time — time activity first started
  - `endTime` string, date-time, nullable — time activity was marked complete and ended
  - `lessonActivityId` integer, nullable — Non-unique lesson specific activity identifier

## Other responses

- `400` — if param invalid
- `401` — if unauthorized

---

[API](https://skmtc.dev/eon-xr/apis/eonxr-api.md) · [All operations](https://skmtc.dev/eon-xr/apis/eonxr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eon-xr/eonxr-api/revisions/538c75161c64/schema)
