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": "8d907973-47c6-4005-b680-32311ec736f5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-24T19:42:05.8062789+00:00",
  "Registration": [
    {
      "Id": "34c0c401-18c6-4065-a12e-7479c895bd27",
      "UserId": "28b7b0af-7b8a-448a-9272-5aa3fed17b23",
      "IsCurrent": true,
      "CenterId": "938f7af6-3d77-478b-83d9-295f67b4114a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e5ea2867-9456-4644-9fbf-33c39bc9f72a",
      "EndDate": "2026-06-24T19:42:05.8062789+00:00",
      "StartDate": "2026-06-24T19:42:05.8062789+00:00",
      "SchedulePreferenceDate": "2026-06-24T19:42:05.8062789+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": "34c0c401-18c6-4065-a12e-7479c895bd27",
      "UserId": "28b7b0af-7b8a-448a-9272-5aa3fed17b23",
      "IsCurrent": true,
      "CenterId": "938f7af6-3d77-478b-83d9-295f67b4114a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e5ea2867-9456-4644-9fbf-33c39bc9f72a",
      "EndDate": "2026-06-24T19:42:05.8062789+00:00",
      "StartDate": "2026-06-24T19:42:05.8062789+00:00",
      "SchedulePreferenceDate": "2026-06-24T19:42:05.8062789+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-06-24T19:42:05.8062789+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "984232b2-c6fe-4614-b792-d202754cc1a9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "edf1bdfd-dc20-424a-8ab4-12af12ac1c69",
      "Sequence": 1,
      "AncestorCategoryId": "6eb8cdcf-abd6-4cff-95ae-07531571576c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "984232b2-c6fe-4614-b792-d202754cc1a9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "edf1bdfd-dc20-424a-8ab4-12af12ac1c69",
      "Sequence": 1,
      "AncestorCategoryId": "6eb8cdcf-abd6-4cff-95ae-07531571576c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "a174b4da-6a79-4262-a2e0-4b50cc228313",
    "CategoryId": "5c4ded3d-05c2-46c4-90ae-62f84dc1beb0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f40a47d5-b86c-4f80-aa44-aafd2851d43e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f40a47d5-b86c-4f80-aa44-aafd2851d43e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "886d3a23-1423-43bf-8b43-a65e7cdc5d71",
      "Questions": [
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        },
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "886d3a23-1423-43bf-8b43-a65e7cdc5d71",
      "Questions": [
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        },
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "90e06b96-3fd6-427f-93df-ce1546f13d69",
      "ContentItemId": "2c69551f-5922-4790-8a96-fa98bb2631bf",
      "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-06-24T19:42:05.8062789+00:00",
      "RescheduleDate": "2026-06-24T19:42:05.8062789+00:00"
    },
    {
      "Id": "90e06b96-3fd6-427f-93df-ce1546f13d69",
      "ContentItemId": "2c69551f-5922-4790-8a96-fa98bb2631bf",
      "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-06-24T19:42:05.8062789+00:00",
      "RescheduleDate": "2026-06-24T19:42:05.8062789+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": "8d907973-47c6-4005-b680-32311ec736f5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-24T19:42:05.8375302+00:00",
  "Registration": [
    {
      "Id": "34c0c401-18c6-4065-a12e-7479c895bd27",
      "UserId": "28b7b0af-7b8a-448a-9272-5aa3fed17b23",
      "IsCurrent": true,
      "CenterId": "938f7af6-3d77-478b-83d9-295f67b4114a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e5ea2867-9456-4644-9fbf-33c39bc9f72a",
      "EndDate": "2026-06-24T19:42:05.8062789+00:00",
      "StartDate": "2026-06-24T19:42:05.8062789+00:00",
      "SchedulePreferenceDate": "2026-06-24T19:42:05.8062789+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": "34c0c401-18c6-4065-a12e-7479c895bd27",
      "UserId": "28b7b0af-7b8a-448a-9272-5aa3fed17b23",
      "IsCurrent": true,
      "CenterId": "938f7af6-3d77-478b-83d9-295f67b4114a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e5ea2867-9456-4644-9fbf-33c39bc9f72a",
      "EndDate": "2026-06-24T19:42:05.8062789+00:00",
      "StartDate": "2026-06-24T19:42:05.8062789+00:00",
      "SchedulePreferenceDate": "2026-06-24T19:42:05.8062789+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-06-24T19:42:05.8062789+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "984232b2-c6fe-4614-b792-d202754cc1a9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "edf1bdfd-dc20-424a-8ab4-12af12ac1c69",
      "Sequence": 1,
      "AncestorCategoryId": "6eb8cdcf-abd6-4cff-95ae-07531571576c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "984232b2-c6fe-4614-b792-d202754cc1a9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "edf1bdfd-dc20-424a-8ab4-12af12ac1c69",
      "Sequence": 1,
      "AncestorCategoryId": "6eb8cdcf-abd6-4cff-95ae-07531571576c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "a6128fb2-e7a5-4774-b0e7-4c19fcbd3165",
          "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": "a174b4da-6a79-4262-a2e0-4b50cc228313",
    "CategoryId": "5c4ded3d-05c2-46c4-90ae-62f84dc1beb0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f40a47d5-b86c-4f80-aa44-aafd2851d43e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f40a47d5-b86c-4f80-aa44-aafd2851d43e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "886d3a23-1423-43bf-8b43-a65e7cdc5d71",
      "Questions": [
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        },
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "886d3a23-1423-43bf-8b43-a65e7cdc5d71",
      "Questions": [
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        },
        {
          "Id": "62886338-9401-49e7-9304-63ad20f02744",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "90e06b96-3fd6-427f-93df-ce1546f13d69",
      "ContentItemId": "2c69551f-5922-4790-8a96-fa98bb2631bf",
      "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-06-24T19:42:05.8062789+00:00",
      "RescheduleDate": "2026-06-24T19:42:05.8062789+00:00"
    },
    {
      "Id": "90e06b96-3fd6-427f-93df-ce1546f13d69",
      "ContentItemId": "2c69551f-5922-4790-8a96-fa98bb2631bf",
      "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-06-24T19:42:05.8062789+00:00",
      "RescheduleDate": "2026-06-24T19:42:05.8062789+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}