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": "b83cfd48-2747-4d8b-9b78-7a1542359d30",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-19T09:31:31.5420969+00:00",
  "Registration": {
    "Id": "0edb1ea4-fec5-4869-ba2e-6dd9b6096fc1",
    "UserId": "ad207a84-cc6e-4895-84ce-f80a0a2ac61e",
    "IsCurrent": true,
    "CenterId": "d47f7b58-4dbd-4517-9844-9bafc02df531",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "00b7c96f-cbb1-4d9a-be80-6a9af0402b2e",
    "EndDate": "2026-07-19T09:31:31.5420969+00:00",
    "StartDate": "2026-07-19T09:31:31.5420969+00:00",
    "SchedulePreferenceDate": "2026-07-19T09:31:31.5420969+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-19T09:31:31.5420969+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a742d19b-149f-4d06-83a5-c140a154f6ab",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4600882-a622-4271-ac71-27da3ba89d07",
      "Sequence": 1,
      "AncestorCategoryId": "92dd8292-e0f4-47ba-b9e1-de922e08c4db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "a742d19b-149f-4d06-83a5-c140a154f6ab",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4600882-a622-4271-ac71-27da3ba89d07",
      "Sequence": 1,
      "AncestorCategoryId": "92dd8292-e0f4-47ba-b9e1-de922e08c4db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "779c8779-fefd-4af3-88ba-c167289a32ce",
    "CategoryId": "736ef299-2f37-462d-90ba-3ce308211773",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b8325c6d-f706-46de-b2ca-198bc2ff5638",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b8325c6d-f706-46de-b2ca-198bc2ff5638",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a129dc3c-47d4-4a87-b19e-51de10214a13",
      "Questions": [
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        },
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a129dc3c-47d4-4a87-b19e-51de10214a13",
      "Questions": [
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        },
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "50681d8a-d7a3-4c1e-b686-952ca017ef27",
      "ContentItemId": "8413b5ce-f9ec-41c6-910c-efc491d762ca",
      "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-19T09:31:31.5420969+00:00",
      "RescheduleDate": "2026-07-19T09:31:31.5420969+00:00"
    },
    {
      "Id": "50681d8a-d7a3-4c1e-b686-952ca017ef27",
      "ContentItemId": "8413b5ce-f9ec-41c6-910c-efc491d762ca",
      "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-19T09:31:31.5420969+00:00",
      "RescheduleDate": "2026-07-19T09:31:31.5420969+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "b83cfd48-2747-4d8b-9b78-7a1542359d30",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-19T09:31:31.5733493+00:00",
  "Registration": {
    "Id": "0edb1ea4-fec5-4869-ba2e-6dd9b6096fc1",
    "UserId": "ad207a84-cc6e-4895-84ce-f80a0a2ac61e",
    "IsCurrent": true,
    "CenterId": "d47f7b58-4dbd-4517-9844-9bafc02df531",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "00b7c96f-cbb1-4d9a-be80-6a9af0402b2e",
    "EndDate": "2026-07-19T09:31:31.5420969+00:00",
    "StartDate": "2026-07-19T09:31:31.5420969+00:00",
    "SchedulePreferenceDate": "2026-07-19T09:31:31.5420969+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-19T09:31:31.5420969+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a742d19b-149f-4d06-83a5-c140a154f6ab",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4600882-a622-4271-ac71-27da3ba89d07",
      "Sequence": 1,
      "AncestorCategoryId": "92dd8292-e0f4-47ba-b9e1-de922e08c4db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "a742d19b-149f-4d06-83a5-c140a154f6ab",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4600882-a622-4271-ac71-27da3ba89d07",
      "Sequence": 1,
      "AncestorCategoryId": "92dd8292-e0f4-47ba-b9e1-de922e08c4db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "67d8a983-0acf-479f-aca7-6d6f57a0ab7c",
          "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": "779c8779-fefd-4af3-88ba-c167289a32ce",
    "CategoryId": "736ef299-2f37-462d-90ba-3ce308211773",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b8325c6d-f706-46de-b2ca-198bc2ff5638",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b8325c6d-f706-46de-b2ca-198bc2ff5638",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a129dc3c-47d4-4a87-b19e-51de10214a13",
      "Questions": [
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        },
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a129dc3c-47d4-4a87-b19e-51de10214a13",
      "Questions": [
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        },
        {
          "Id": "35476f1f-d7ad-4ee9-b684-274bb54a4d69",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "50681d8a-d7a3-4c1e-b686-952ca017ef27",
      "ContentItemId": "8413b5ce-f9ec-41c6-910c-efc491d762ca",
      "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-19T09:31:31.5420969+00:00",
      "RescheduleDate": "2026-07-19T09:31:31.5420969+00:00"
    },
    {
      "Id": "50681d8a-d7a3-4c1e-b686-952ca017ef27",
      "ContentItemId": "8413b5ce-f9ec-41c6-910c-efc491d762ca",
      "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-19T09:31:31.5420969+00:00",
      "RescheduleDate": "2026-07-19T09:31:31.5420969+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}