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": "f5462653-b5f8-4ebb-b822-d4ccfe9de88a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-09T20:37:21.2811167+00:00",
  "Registration": [
    {
      "Id": "b031cc04-d816-4f94-9452-122ca79b3703",
      "UserId": "b973caeb-6447-4fa3-8d8b-548e1733a3b0",
      "IsCurrent": true,
      "CenterId": "5b44936b-008e-4f79-bf52-42a079c74bc8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "fbce3859-ea13-4cfe-afa5-7bb9f3086d0a",
      "EndDate": "2026-01-09T20:37:20.9217405+00:00",
      "StartDate": "2026-01-09T20:37:20.9217405+00:00",
      "SchedulePreferenceDate": "2026-01-09T20:37:20.9217405+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": "b031cc04-d816-4f94-9452-122ca79b3703",
      "UserId": "b973caeb-6447-4fa3-8d8b-548e1733a3b0",
      "IsCurrent": true,
      "CenterId": "5b44936b-008e-4f79-bf52-42a079c74bc8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "fbce3859-ea13-4cfe-afa5-7bb9f3086d0a",
      "EndDate": "2026-01-09T20:37:20.9217405+00:00",
      "StartDate": "2026-01-09T20:37:20.9217405+00:00",
      "SchedulePreferenceDate": "2026-01-09T20:37:20.9217405+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-01-09T20:37:20.9217405+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "1432d5a3-e49b-4e17-be32-84678455d66e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3260de47-d284-4530-9be6-0e6af0684a10",
      "Sequence": 1,
      "AncestorCategoryId": "487c40a8-4df1-43e1-aa13-a0cb8a01c840",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "1432d5a3-e49b-4e17-be32-84678455d66e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3260de47-d284-4530-9be6-0e6af0684a10",
      "Sequence": 1,
      "AncestorCategoryId": "487c40a8-4df1-43e1-aa13-a0cb8a01c840",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "bf31a74b-e15f-4ae1-82e1-ccf1309a5c5c",
    "CategoryId": "01303cd7-2a73-4722-b99d-960d525c68e3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "69ad85ad-4366-4459-af41-efa16e000ca8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "69ad85ad-4366-4459-af41-efa16e000ca8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eec4a3dd-9445-4936-8c8c-fb0d858f4ab6",
      "Questions": [
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        },
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eec4a3dd-9445-4936-8c8c-fb0d858f4ab6",
      "Questions": [
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        },
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4f516613-5574-4f71-8416-ea98c6db5223",
      "ContentItemId": "f215bedf-7428-478e-a295-486b665bb462",
      "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-01-09T20:37:20.9217405+00:00",
      "RescheduleDate": "2026-01-09T20:37:20.9217405+00:00"
    },
    {
      "Id": "4f516613-5574-4f71-8416-ea98c6db5223",
      "ContentItemId": "f215bedf-7428-478e-a295-486b665bb462",
      "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-01-09T20:37:20.9217405+00:00",
      "RescheduleDate": "2026-01-09T20:37:20.9217405+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": "f5462653-b5f8-4ebb-b822-d4ccfe9de88a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-09T20:37:21.3279933+00:00",
  "Registration": [
    {
      "Id": "b031cc04-d816-4f94-9452-122ca79b3703",
      "UserId": "b973caeb-6447-4fa3-8d8b-548e1733a3b0",
      "IsCurrent": true,
      "CenterId": "5b44936b-008e-4f79-bf52-42a079c74bc8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "fbce3859-ea13-4cfe-afa5-7bb9f3086d0a",
      "EndDate": "2026-01-09T20:37:20.9217405+00:00",
      "StartDate": "2026-01-09T20:37:20.9217405+00:00",
      "SchedulePreferenceDate": "2026-01-09T20:37:20.9217405+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": "b031cc04-d816-4f94-9452-122ca79b3703",
      "UserId": "b973caeb-6447-4fa3-8d8b-548e1733a3b0",
      "IsCurrent": true,
      "CenterId": "5b44936b-008e-4f79-bf52-42a079c74bc8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "fbce3859-ea13-4cfe-afa5-7bb9f3086d0a",
      "EndDate": "2026-01-09T20:37:20.9217405+00:00",
      "StartDate": "2026-01-09T20:37:20.9217405+00:00",
      "SchedulePreferenceDate": "2026-01-09T20:37:20.9217405+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-01-09T20:37:20.9217405+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "1432d5a3-e49b-4e17-be32-84678455d66e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3260de47-d284-4530-9be6-0e6af0684a10",
      "Sequence": 1,
      "AncestorCategoryId": "487c40a8-4df1-43e1-aa13-a0cb8a01c840",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "1432d5a3-e49b-4e17-be32-84678455d66e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3260de47-d284-4530-9be6-0e6af0684a10",
      "Sequence": 1,
      "AncestorCategoryId": "487c40a8-4df1-43e1-aa13-a0cb8a01c840",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "dd13e740-5ad5-409c-8ea1-4f804be91ccd",
          "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": "bf31a74b-e15f-4ae1-82e1-ccf1309a5c5c",
    "CategoryId": "01303cd7-2a73-4722-b99d-960d525c68e3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "69ad85ad-4366-4459-af41-efa16e000ca8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "69ad85ad-4366-4459-af41-efa16e000ca8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eec4a3dd-9445-4936-8c8c-fb0d858f4ab6",
      "Questions": [
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        },
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eec4a3dd-9445-4936-8c8c-fb0d858f4ab6",
      "Questions": [
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        },
        {
          "Id": "141348cd-91d7-4201-85c9-8d29b716e298",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4f516613-5574-4f71-8416-ea98c6db5223",
      "ContentItemId": "f215bedf-7428-478e-a295-486b665bb462",
      "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-01-09T20:37:20.9217405+00:00",
      "RescheduleDate": "2026-01-09T20:37:20.9217405+00:00"
    },
    {
      "Id": "4f516613-5574-4f71-8416-ea98c6db5223",
      "ContentItemId": "f215bedf-7428-478e-a295-486b665bb462",
      "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-01-09T20:37:20.9217405+00:00",
      "RescheduleDate": "2026-01-09T20:37:20.9217405+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}