GET v2/users/{userIdentifier}/state

Gets the User's state information.

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user passes at least one of the following conditions: Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the online center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
  • Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
  • Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, FocusTool, ProspectWithTrial, User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userIdentifier

user's identifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Core.Models.View.UserStateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

Collection of PearsonEnglish.LearningServices.Core.Models.Views.RegistrationViewModel

None.

TimeZone

PearsonEnglish.LearningServices.Core.Models.Views.TimeZoneViewModel

None.

Bookmarks

Dictionary of string [key] and PearsonEnglish.LearningServices.Core.Models.Views.ContentItemViewModel [value]

None.

CurrentCourse

PearsonEnglish.LearningServices.Core.Models.CurrentCourse

None.

Lessons

Collection of PearsonEnglish.LearningServices.Core.Models.Views.ContentItemResultViewModel

None.

Surveys

Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSurveyViewModel

None.

Sessions

Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSessionStateViewModel

None.

TotalRescheduleCount

integer

None.

StudentLevelInfo

PearsonEnglish.LearningServices.Core.Models.StudentLevelInfo

None.

StudentSpeakPlusLevelInfo

string

None.

Response Formats

application/json

Sample:
{
  "UserId": "4665c0e7-f965-4e83-9e80-db9e8223d4e3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-10T15:24:17.4947577+00:00",
  "Registration": [
    {
      "Id": "d62554b0-f1cc-462f-9b68-aff29655ea2b",
      "UserId": "f1a41545-18dd-434b-9c15-d5874324b9fb",
      "IsCurrent": true,
      "CenterId": "799f2551-8eb2-4e4b-ae7f-e681b954ff86",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "58ae226d-e8be-40df-ab03-3fcf46765ad2",
      "EndDate": "2026-02-10T15:24:17.4947577+00:00",
      "StartDate": "2026-02-10T15:24:17.4947577+00:00",
      "SchedulePreferenceDate": "2026-02-10T15:24:17.4947577+00:00",
      "TypeName": "sample string 10",
      "WorkbookType": 0,
      "EnglishAnytime": true,
      "AllowSelfBooking": true,
      "RegistrationStatus": "sample string 12",
      "CourseStatus": "sample string 13",
      "StudentCurrentContractStatus": "sample string 14",
      "OnlineClassAccess": true,
      "InCenterClassAccess": true,
      "IsMembership": true,
      "IsPromo": true,
      "OnboardingAccess": true,
      "IsCrossCenterBooking": true,
      "IsTeen": true,
      "IsGroupContract": true,
      "IsB2B": true,
      "ServiceType": 1,
      "LabTeacherReferenceId": "sample string 24",
      "ConsultantReferenceId": "sample string 25"
    },
    {
      "Id": "d62554b0-f1cc-462f-9b68-aff29655ea2b",
      "UserId": "f1a41545-18dd-434b-9c15-d5874324b9fb",
      "IsCurrent": true,
      "CenterId": "799f2551-8eb2-4e4b-ae7f-e681b954ff86",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "58ae226d-e8be-40df-ab03-3fcf46765ad2",
      "EndDate": "2026-02-10T15:24:17.4947577+00:00",
      "StartDate": "2026-02-10T15:24:17.4947577+00:00",
      "SchedulePreferenceDate": "2026-02-10T15:24:17.4947577+00:00",
      "TypeName": "sample string 10",
      "WorkbookType": 0,
      "EnglishAnytime": true,
      "AllowSelfBooking": true,
      "RegistrationStatus": "sample string 12",
      "CourseStatus": "sample string 13",
      "StudentCurrentContractStatus": "sample string 14",
      "OnlineClassAccess": true,
      "InCenterClassAccess": true,
      "IsMembership": true,
      "IsPromo": true,
      "OnboardingAccess": true,
      "IsCrossCenterBooking": true,
      "IsTeen": true,
      "IsGroupContract": true,
      "IsB2B": true,
      "ServiceType": 1,
      "LabTeacherReferenceId": "sample string 24",
      "ConsultantReferenceId": "sample string 25"
    }
  ],
  "TimeZone": {
    "Name": "sample string 1",
    "IanaName": "sample string 2",
    "LocalUtcOffset": "00:00:00.1234567",
    "LocalDateTime": "2026-02-10T15:24:17.4947577+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0be42414-1d5e-45a3-a938-b86dc03cec2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "16f24e6e-aea1-4f8c-8aab-7a3fcadfe810",
      "Sequence": 1,
      "AncestorCategoryId": "110af825-29af-49fd-8b15-3457db87ecdb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    },
    "sample string 2": {
      "Id": "0be42414-1d5e-45a3-a938-b86dc03cec2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "16f24e6e-aea1-4f8c-8aab-7a3fcadfe810",
      "Sequence": 1,
      "AncestorCategoryId": "110af825-29af-49fd-8b15-3457db87ecdb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    }
  },
  "CurrentCourse": {
    "Id": "8f1ae611-f8c8-4810-8fc4-50903097fe15",
    "CategoryId": "3fa3dca8-c6a4-4f82-a350-cfcf1716508f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2fa441f1-2e91-42e2-8904-aa7931276d0c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2fa441f1-2e91-42e2-8904-aa7931276d0c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a94b09f5-e89a-4700-8a2b-f6f9e2a53bc0",
      "Questions": [
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        },
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a94b09f5-e89a-4700-8a2b-f6f9e2a53bc0",
      "Questions": [
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        },
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a95064ae-7c1c-4ebb-bbb9-3025dfb24e39",
      "ContentItemId": "825f8412-5117-430e-b6b3-914e72548e32",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-02-10T15:24:17.4947577+00:00",
      "RescheduleDate": "2026-02-10T15:24:17.4947577+00:00"
    },
    {
      "Id": "a95064ae-7c1c-4ebb-bbb9-3025dfb24e39",
      "ContentItemId": "825f8412-5117-430e-b6b3-914e72548e32",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-02-10T15:24:17.4947577+00:00",
      "RescheduleDate": "2026-02-10T15:24:17.4947577+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}

text/json

Sample:
{
  "UserId": "4665c0e7-f965-4e83-9e80-db9e8223d4e3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-10T15:24:17.5260056+00:00",
  "Registration": [
    {
      "Id": "d62554b0-f1cc-462f-9b68-aff29655ea2b",
      "UserId": "f1a41545-18dd-434b-9c15-d5874324b9fb",
      "IsCurrent": true,
      "CenterId": "799f2551-8eb2-4e4b-ae7f-e681b954ff86",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "58ae226d-e8be-40df-ab03-3fcf46765ad2",
      "EndDate": "2026-02-10T15:24:17.4947577+00:00",
      "StartDate": "2026-02-10T15:24:17.4947577+00:00",
      "SchedulePreferenceDate": "2026-02-10T15:24:17.4947577+00:00",
      "TypeName": "sample string 10",
      "WorkbookType": 0,
      "EnglishAnytime": true,
      "AllowSelfBooking": true,
      "RegistrationStatus": "sample string 12",
      "CourseStatus": "sample string 13",
      "StudentCurrentContractStatus": "sample string 14",
      "OnlineClassAccess": true,
      "InCenterClassAccess": true,
      "IsMembership": true,
      "IsPromo": true,
      "OnboardingAccess": true,
      "IsCrossCenterBooking": true,
      "IsTeen": true,
      "IsGroupContract": true,
      "IsB2B": true,
      "ServiceType": 1,
      "LabTeacherReferenceId": "sample string 24",
      "ConsultantReferenceId": "sample string 25"
    },
    {
      "Id": "d62554b0-f1cc-462f-9b68-aff29655ea2b",
      "UserId": "f1a41545-18dd-434b-9c15-d5874324b9fb",
      "IsCurrent": true,
      "CenterId": "799f2551-8eb2-4e4b-ae7f-e681b954ff86",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "58ae226d-e8be-40df-ab03-3fcf46765ad2",
      "EndDate": "2026-02-10T15:24:17.4947577+00:00",
      "StartDate": "2026-02-10T15:24:17.4947577+00:00",
      "SchedulePreferenceDate": "2026-02-10T15:24:17.4947577+00:00",
      "TypeName": "sample string 10",
      "WorkbookType": 0,
      "EnglishAnytime": true,
      "AllowSelfBooking": true,
      "RegistrationStatus": "sample string 12",
      "CourseStatus": "sample string 13",
      "StudentCurrentContractStatus": "sample string 14",
      "OnlineClassAccess": true,
      "InCenterClassAccess": true,
      "IsMembership": true,
      "IsPromo": true,
      "OnboardingAccess": true,
      "IsCrossCenterBooking": true,
      "IsTeen": true,
      "IsGroupContract": true,
      "IsB2B": true,
      "ServiceType": 1,
      "LabTeacherReferenceId": "sample string 24",
      "ConsultantReferenceId": "sample string 25"
    }
  ],
  "TimeZone": {
    "Name": "sample string 1",
    "IanaName": "sample string 2",
    "LocalUtcOffset": "00:00:00.1234567",
    "LocalDateTime": "2026-02-10T15:24:17.4947577+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0be42414-1d5e-45a3-a938-b86dc03cec2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "16f24e6e-aea1-4f8c-8aab-7a3fcadfe810",
      "Sequence": 1,
      "AncestorCategoryId": "110af825-29af-49fd-8b15-3457db87ecdb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    },
    "sample string 2": {
      "Id": "0be42414-1d5e-45a3-a938-b86dc03cec2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "16f24e6e-aea1-4f8c-8aab-7a3fcadfe810",
      "Sequence": 1,
      "AncestorCategoryId": "110af825-29af-49fd-8b15-3457db87ecdb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "04fcd387-d8f7-472b-9cec-2ac1f3b80363",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    }
  },
  "CurrentCourse": {
    "Id": "8f1ae611-f8c8-4810-8fc4-50903097fe15",
    "CategoryId": "3fa3dca8-c6a4-4f82-a350-cfcf1716508f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2fa441f1-2e91-42e2-8904-aa7931276d0c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2fa441f1-2e91-42e2-8904-aa7931276d0c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a94b09f5-e89a-4700-8a2b-f6f9e2a53bc0",
      "Questions": [
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        },
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a94b09f5-e89a-4700-8a2b-f6f9e2a53bc0",
      "Questions": [
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        },
        {
          "Id": "934e8006-fdcd-4639-946a-4ff29f0a84bd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a95064ae-7c1c-4ebb-bbb9-3025dfb24e39",
      "ContentItemId": "825f8412-5117-430e-b6b3-914e72548e32",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-02-10T15:24:17.4947577+00:00",
      "RescheduleDate": "2026-02-10T15:24:17.4947577+00:00"
    },
    {
      "Id": "a95064ae-7c1c-4ebb-bbb9-3025dfb24e39",
      "ContentItemId": "825f8412-5117-430e-b6b3-914e72548e32",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-02-10T15:24:17.4947577+00:00",
      "RescheduleDate": "2026-02-10T15:24:17.4947577+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}