GET 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.Views.UserStateBackwardCompatibleViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

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.

Response Formats

application/json

Sample:
{
  "UserId": "1393bf68-7f03-400c-af06-9417645c90ac",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-31T14:13:30.6531043+00:00",
  "Registration": {
    "Id": "342f8526-084d-4e37-8247-afc846c61b0d",
    "UserId": "db27f965-5d09-462b-8a61-509f78ddb5f6",
    "IsCurrent": true,
    "CenterId": "d8a720fb-c03e-4cf3-93f7-0954a2158e64",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "14f1b3a9-c456-42a4-ac8f-17533c9bdb47",
    "EndDate": "2026-08-31T14:13:30.6374806+00:00",
    "StartDate": "2026-08-31T14:13:30.6374806+00:00",
    "SchedulePreferenceDate": "2026-08-31T14:13:30.6374806+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-08-31T14:13:30.6374806+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9e699017-191e-42be-b8ed-084e8ba001e0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "673882cc-14a1-4a86-b783-961397c676ed",
      "Sequence": 1,
      "AncestorCategoryId": "69a19de8-4c54-436d-b28a-3ccf047973e8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "9e699017-191e-42be-b8ed-084e8ba001e0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "673882cc-14a1-4a86-b783-961397c676ed",
      "Sequence": 1,
      "AncestorCategoryId": "69a19de8-4c54-436d-b28a-3ccf047973e8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "95644d5f-2fb7-4375-8786-ae577a2f96bb",
    "CategoryId": "ed0d4f9a-3565-427b-8f7e-28ef86350aae",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b0e74df5-a751-4bf4-aed9-9aa6ece5fa6d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b0e74df5-a751-4bf4-aed9-9aa6ece5fa6d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8d643555-e67d-4e2a-8a67-c57b475c3104",
      "Questions": [
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8d643555-e67d-4e2a-8a67-c57b475c3104",
      "Questions": [
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "974db4fe-80bb-4031-9b43-9b52f650e7d0",
      "ContentItemId": "f02502f7-7d70-4990-aba2-20a717d9802e",
      "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-08-31T14:13:30.6374806+00:00",
      "RescheduleDate": "2026-08-31T14:13:30.6374806+00:00"
    },
    {
      "Id": "974db4fe-80bb-4031-9b43-9b52f650e7d0",
      "ContentItemId": "f02502f7-7d70-4990-aba2-20a717d9802e",
      "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-08-31T14:13:30.6374806+00:00",
      "RescheduleDate": "2026-08-31T14:13:30.6374806+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "1393bf68-7f03-400c-af06-9417645c90ac",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-31T14:13:30.6999823+00:00",
  "Registration": {
    "Id": "342f8526-084d-4e37-8247-afc846c61b0d",
    "UserId": "db27f965-5d09-462b-8a61-509f78ddb5f6",
    "IsCurrent": true,
    "CenterId": "d8a720fb-c03e-4cf3-93f7-0954a2158e64",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "14f1b3a9-c456-42a4-ac8f-17533c9bdb47",
    "EndDate": "2026-08-31T14:13:30.6374806+00:00",
    "StartDate": "2026-08-31T14:13:30.6374806+00:00",
    "SchedulePreferenceDate": "2026-08-31T14:13:30.6374806+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-08-31T14:13:30.6374806+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9e699017-191e-42be-b8ed-084e8ba001e0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "673882cc-14a1-4a86-b783-961397c676ed",
      "Sequence": 1,
      "AncestorCategoryId": "69a19de8-4c54-436d-b28a-3ccf047973e8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "9e699017-191e-42be-b8ed-084e8ba001e0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "673882cc-14a1-4a86-b783-961397c676ed",
      "Sequence": 1,
      "AncestorCategoryId": "69a19de8-4c54-436d-b28a-3ccf047973e8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "20173b4d-4e1d-4960-a04b-58fb5bd925d1",
          "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": "95644d5f-2fb7-4375-8786-ae577a2f96bb",
    "CategoryId": "ed0d4f9a-3565-427b-8f7e-28ef86350aae",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b0e74df5-a751-4bf4-aed9-9aa6ece5fa6d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b0e74df5-a751-4bf4-aed9-9aa6ece5fa6d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8d643555-e67d-4e2a-8a67-c57b475c3104",
      "Questions": [
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8d643555-e67d-4e2a-8a67-c57b475c3104",
      "Questions": [
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "969f8ee3-8cfd-411d-a0c4-241c1e785d82",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "974db4fe-80bb-4031-9b43-9b52f650e7d0",
      "ContentItemId": "f02502f7-7d70-4990-aba2-20a717d9802e",
      "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-08-31T14:13:30.6374806+00:00",
      "RescheduleDate": "2026-08-31T14:13:30.6374806+00:00"
    },
    {
      "Id": "974db4fe-80bb-4031-9b43-9b52f650e7d0",
      "ContentItemId": "f02502f7-7d70-4990-aba2-20a717d9802e",
      "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-08-31T14:13:30.6374806+00:00",
      "RescheduleDate": "2026-08-31T14:13:30.6374806+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}