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": "aa405faa-4d86-40b0-8fb0-fc04c0315e32",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-30T19:15:50.220333+00:00",
  "Registration": [
    {
      "Id": "e330310e-fd45-4a6f-b6a6-e2a6b1f44e72",
      "UserId": "5441d4cb-f7a3-4dec-8385-50f0906a0024",
      "IsCurrent": true,
      "CenterId": "4df489dd-1b35-4192-9b09-f0598261b6cf",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c0f2b943-4795-4d89-a719-86cf985ecea2",
      "EndDate": "2026-07-30T19:15:50.2020026+00:00",
      "StartDate": "2026-07-30T19:15:50.2020026+00:00",
      "SchedulePreferenceDate": "2026-07-30T19:15:50.2020026+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": "e330310e-fd45-4a6f-b6a6-e2a6b1f44e72",
      "UserId": "5441d4cb-f7a3-4dec-8385-50f0906a0024",
      "IsCurrent": true,
      "CenterId": "4df489dd-1b35-4192-9b09-f0598261b6cf",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c0f2b943-4795-4d89-a719-86cf985ecea2",
      "EndDate": "2026-07-30T19:15:50.2020026+00:00",
      "StartDate": "2026-07-30T19:15:50.2020026+00:00",
      "SchedulePreferenceDate": "2026-07-30T19:15:50.2020026+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-30T19:15:50.2020026+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "86079614-5082-4c18-a153-e6a0f9778cac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d55254cb-26f7-4e84-abbc-4649b51a6702",
      "Sequence": 1,
      "AncestorCategoryId": "a86cb585-3852-43b5-81f9-574f4d4cbeb2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "86079614-5082-4c18-a153-e6a0f9778cac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d55254cb-26f7-4e84-abbc-4649b51a6702",
      "Sequence": 1,
      "AncestorCategoryId": "a86cb585-3852-43b5-81f9-574f4d4cbeb2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "baa5763f-ed4a-4411-aa4d-f42c3c55840f",
    "CategoryId": "27df20c3-f384-444f-acc8-2b18892a9bda",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bb5f2c88-c2b6-43a6-9062-ab581d6f2afb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bb5f2c88-c2b6-43a6-9062-ab581d6f2afb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "21e037c0-6317-4e0d-9893-4e0c218e672b",
      "Questions": [
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        },
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "21e037c0-6317-4e0d-9893-4e0c218e672b",
      "Questions": [
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        },
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "85e7e816-a662-4497-bbc3-8d2a41d8284c",
      "ContentItemId": "96777090-2c22-4b90-81d6-eedd6619d0e9",
      "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-30T19:15:50.2020026+00:00",
      "RescheduleDate": "2026-07-30T19:15:50.2020026+00:00"
    },
    {
      "Id": "85e7e816-a662-4497-bbc3-8d2a41d8284c",
      "ContentItemId": "96777090-2c22-4b90-81d6-eedd6619d0e9",
      "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-30T19:15:50.2020026+00:00",
      "RescheduleDate": "2026-07-30T19:15:50.2020026+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": "aa405faa-4d86-40b0-8fb0-fc04c0315e32",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-30T19:15:50.2957581+00:00",
  "Registration": [
    {
      "Id": "e330310e-fd45-4a6f-b6a6-e2a6b1f44e72",
      "UserId": "5441d4cb-f7a3-4dec-8385-50f0906a0024",
      "IsCurrent": true,
      "CenterId": "4df489dd-1b35-4192-9b09-f0598261b6cf",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c0f2b943-4795-4d89-a719-86cf985ecea2",
      "EndDate": "2026-07-30T19:15:50.2020026+00:00",
      "StartDate": "2026-07-30T19:15:50.2020026+00:00",
      "SchedulePreferenceDate": "2026-07-30T19:15:50.2020026+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": "e330310e-fd45-4a6f-b6a6-e2a6b1f44e72",
      "UserId": "5441d4cb-f7a3-4dec-8385-50f0906a0024",
      "IsCurrent": true,
      "CenterId": "4df489dd-1b35-4192-9b09-f0598261b6cf",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c0f2b943-4795-4d89-a719-86cf985ecea2",
      "EndDate": "2026-07-30T19:15:50.2020026+00:00",
      "StartDate": "2026-07-30T19:15:50.2020026+00:00",
      "SchedulePreferenceDate": "2026-07-30T19:15:50.2020026+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-30T19:15:50.2020026+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "86079614-5082-4c18-a153-e6a0f9778cac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d55254cb-26f7-4e84-abbc-4649b51a6702",
      "Sequence": 1,
      "AncestorCategoryId": "a86cb585-3852-43b5-81f9-574f4d4cbeb2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "86079614-5082-4c18-a153-e6a0f9778cac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d55254cb-26f7-4e84-abbc-4649b51a6702",
      "Sequence": 1,
      "AncestorCategoryId": "a86cb585-3852-43b5-81f9-574f4d4cbeb2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "15f6e9e1-5144-4977-8b44-5040adceacf9",
          "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": "baa5763f-ed4a-4411-aa4d-f42c3c55840f",
    "CategoryId": "27df20c3-f384-444f-acc8-2b18892a9bda",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bb5f2c88-c2b6-43a6-9062-ab581d6f2afb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bb5f2c88-c2b6-43a6-9062-ab581d6f2afb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "21e037c0-6317-4e0d-9893-4e0c218e672b",
      "Questions": [
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        },
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "21e037c0-6317-4e0d-9893-4e0c218e672b",
      "Questions": [
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        },
        {
          "Id": "424a0137-ee19-4b29-9b43-99f43f7ba61d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "85e7e816-a662-4497-bbc3-8d2a41d8284c",
      "ContentItemId": "96777090-2c22-4b90-81d6-eedd6619d0e9",
      "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-30T19:15:50.2020026+00:00",
      "RescheduleDate": "2026-07-30T19:15:50.2020026+00:00"
    },
    {
      "Id": "85e7e816-a662-4497-bbc3-8d2a41d8284c",
      "ContentItemId": "96777090-2c22-4b90-81d6-eedd6619d0e9",
      "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-30T19:15:50.2020026+00:00",
      "RescheduleDate": "2026-07-30T19:15:50.2020026+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}