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": "d51fabb0-f4c4-42f5-bce6-40969fcf3065",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-06T15:48:37.3539051+00:00",
  "Registration": [
    {
      "Id": "50f1d11f-a441-4023-b018-4cf6e76eae37",
      "UserId": "a0735293-8472-4cef-933d-336c4e442e33",
      "IsCurrent": true,
      "CenterId": "d9f67299-7bd5-453f-854b-e9c3efcf62c5",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8d8e28f9-fbe8-4fc3-8f9e-1f19a53eca37",
      "EndDate": "2026-07-06T15:48:37.3539051+00:00",
      "StartDate": "2026-07-06T15:48:37.3539051+00:00",
      "SchedulePreferenceDate": "2026-07-06T15:48:37.3539051+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": "50f1d11f-a441-4023-b018-4cf6e76eae37",
      "UserId": "a0735293-8472-4cef-933d-336c4e442e33",
      "IsCurrent": true,
      "CenterId": "d9f67299-7bd5-453f-854b-e9c3efcf62c5",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8d8e28f9-fbe8-4fc3-8f9e-1f19a53eca37",
      "EndDate": "2026-07-06T15:48:37.3539051+00:00",
      "StartDate": "2026-07-06T15:48:37.3539051+00:00",
      "SchedulePreferenceDate": "2026-07-06T15:48:37.3539051+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-07-06T15:48:37.3539051+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "381f27a4-b43a-4ada-9358-d9de4cb2b512",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62444b29-839f-47c5-b453-c59fb2c943a4",
      "Sequence": 1,
      "AncestorCategoryId": "6bfbc951-5994-4d48-8106-411d2e78580a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "381f27a4-b43a-4ada-9358-d9de4cb2b512",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62444b29-839f-47c5-b453-c59fb2c943a4",
      "Sequence": 1,
      "AncestorCategoryId": "6bfbc951-5994-4d48-8106-411d2e78580a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "43da2d8d-e963-4130-95e5-e7f41f9d90c2",
    "CategoryId": "90674705-1c9f-4e77-91f6-ff8f740ff1a0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "13ca7676-ef40-4173-a758-977a1355cafd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "13ca7676-ef40-4173-a758-977a1355cafd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e72bdaf0-3eb0-4dfb-b46b-99ae6303bc63",
      "Questions": [
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e72bdaf0-3eb0-4dfb-b46b-99ae6303bc63",
      "Questions": [
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "037fba0f-102f-43c4-a34a-19eae6b7e7cd",
      "ContentItemId": "9e439261-5fa9-41e2-88b9-da2be0878f0f",
      "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-07-06T15:48:37.3539051+00:00",
      "RescheduleDate": "2026-07-06T15:48:37.3539051+00:00"
    },
    {
      "Id": "037fba0f-102f-43c4-a34a-19eae6b7e7cd",
      "ContentItemId": "9e439261-5fa9-41e2-88b9-da2be0878f0f",
      "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-07-06T15:48:37.3539051+00:00",
      "RescheduleDate": "2026-07-06T15:48:37.3539051+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": "d51fabb0-f4c4-42f5-bce6-40969fcf3065",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-06T15:48:37.3851523+00:00",
  "Registration": [
    {
      "Id": "50f1d11f-a441-4023-b018-4cf6e76eae37",
      "UserId": "a0735293-8472-4cef-933d-336c4e442e33",
      "IsCurrent": true,
      "CenterId": "d9f67299-7bd5-453f-854b-e9c3efcf62c5",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8d8e28f9-fbe8-4fc3-8f9e-1f19a53eca37",
      "EndDate": "2026-07-06T15:48:37.3539051+00:00",
      "StartDate": "2026-07-06T15:48:37.3539051+00:00",
      "SchedulePreferenceDate": "2026-07-06T15:48:37.3539051+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": "50f1d11f-a441-4023-b018-4cf6e76eae37",
      "UserId": "a0735293-8472-4cef-933d-336c4e442e33",
      "IsCurrent": true,
      "CenterId": "d9f67299-7bd5-453f-854b-e9c3efcf62c5",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8d8e28f9-fbe8-4fc3-8f9e-1f19a53eca37",
      "EndDate": "2026-07-06T15:48:37.3539051+00:00",
      "StartDate": "2026-07-06T15:48:37.3539051+00:00",
      "SchedulePreferenceDate": "2026-07-06T15:48:37.3539051+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-07-06T15:48:37.3539051+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "381f27a4-b43a-4ada-9358-d9de4cb2b512",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62444b29-839f-47c5-b453-c59fb2c943a4",
      "Sequence": 1,
      "AncestorCategoryId": "6bfbc951-5994-4d48-8106-411d2e78580a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "381f27a4-b43a-4ada-9358-d9de4cb2b512",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62444b29-839f-47c5-b453-c59fb2c943a4",
      "Sequence": 1,
      "AncestorCategoryId": "6bfbc951-5994-4d48-8106-411d2e78580a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "4a91f0b1-26dc-4c52-b9c8-84f135e4fabd",
          "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": "43da2d8d-e963-4130-95e5-e7f41f9d90c2",
    "CategoryId": "90674705-1c9f-4e77-91f6-ff8f740ff1a0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "13ca7676-ef40-4173-a758-977a1355cafd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "13ca7676-ef40-4173-a758-977a1355cafd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e72bdaf0-3eb0-4dfb-b46b-99ae6303bc63",
      "Questions": [
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e72bdaf0-3eb0-4dfb-b46b-99ae6303bc63",
      "Questions": [
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ca5c099-dbfb-478e-a64a-9a44cb71a919",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "037fba0f-102f-43c4-a34a-19eae6b7e7cd",
      "ContentItemId": "9e439261-5fa9-41e2-88b9-da2be0878f0f",
      "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-07-06T15:48:37.3539051+00:00",
      "RescheduleDate": "2026-07-06T15:48:37.3539051+00:00"
    },
    {
      "Id": "037fba0f-102f-43c4-a34a-19eae6b7e7cd",
      "ContentItemId": "9e439261-5fa9-41e2-88b9-da2be0878f0f",
      "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-07-06T15:48:37.3539051+00:00",
      "RescheduleDate": "2026-07-06T15:48:37.3539051+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}