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": "8479673a-e0c0-439b-ac4d-f66dc47d8e20",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-03T02:34:09.6508521+00:00",
  "Registration": {
    "Id": "0bfd790c-8ed7-4f26-b840-1db26fed6dfe",
    "UserId": "71de4f2d-8b1f-4b24-bab1-f965b24daf27",
    "IsCurrent": true,
    "CenterId": "c62b2c7a-49d4-4720-8098-10c87743b0b3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "571f763e-73c3-41b4-b9ea-d22714f47990",
    "EndDate": "2026-12-03T02:34:09.6352312+00:00",
    "StartDate": "2026-12-03T02:34:09.6352312+00:00",
    "SchedulePreferenceDate": "2026-12-03T02:34:09.6352312+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-12-03T02:34:09.6352312+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d5b30438-17a8-44af-8591-7169e0bb24a6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c971891-6b8a-4418-9c77-8c8d29eceb1e",
      "Sequence": 1,
      "AncestorCategoryId": "76ed1514-d40b-4af9-9804-df8141090d3e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "d5b30438-17a8-44af-8591-7169e0bb24a6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c971891-6b8a-4418-9c77-8c8d29eceb1e",
      "Sequence": 1,
      "AncestorCategoryId": "76ed1514-d40b-4af9-9804-df8141090d3e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "fd0258b1-bd0a-40cf-9f1e-5a1015cc78b1",
    "CategoryId": "8501fa7e-fc71-4838-9902-f665ea56c51d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "51f2061f-22e7-4806-a7b6-08667fbc0b3d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "51f2061f-22e7-4806-a7b6-08667fbc0b3d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f3b0fa21-44c9-4e08-abcc-5fd1d6a5b2b5",
      "Questions": [
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        },
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f3b0fa21-44c9-4e08-abcc-5fd1d6a5b2b5",
      "Questions": [
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        },
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ad6a9829-5cac-4e22-a748-6bc64247330b",
      "ContentItemId": "90a61f32-88a7-4517-968b-2729c98ebd6e",
      "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-12-03T02:34:09.6352312+00:00",
      "RescheduleDate": "2026-12-03T02:34:09.6352312+00:00"
    },
    {
      "Id": "ad6a9829-5cac-4e22-a748-6bc64247330b",
      "ContentItemId": "90a61f32-88a7-4517-968b-2729c98ebd6e",
      "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-12-03T02:34:09.6352312+00:00",
      "RescheduleDate": "2026-12-03T02:34:09.6352312+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "8479673a-e0c0-439b-ac4d-f66dc47d8e20",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-03T02:34:09.7602255+00:00",
  "Registration": {
    "Id": "0bfd790c-8ed7-4f26-b840-1db26fed6dfe",
    "UserId": "71de4f2d-8b1f-4b24-bab1-f965b24daf27",
    "IsCurrent": true,
    "CenterId": "c62b2c7a-49d4-4720-8098-10c87743b0b3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "571f763e-73c3-41b4-b9ea-d22714f47990",
    "EndDate": "2026-12-03T02:34:09.6352312+00:00",
    "StartDate": "2026-12-03T02:34:09.6352312+00:00",
    "SchedulePreferenceDate": "2026-12-03T02:34:09.6352312+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-12-03T02:34:09.6352312+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d5b30438-17a8-44af-8591-7169e0bb24a6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c971891-6b8a-4418-9c77-8c8d29eceb1e",
      "Sequence": 1,
      "AncestorCategoryId": "76ed1514-d40b-4af9-9804-df8141090d3e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "d5b30438-17a8-44af-8591-7169e0bb24a6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c971891-6b8a-4418-9c77-8c8d29eceb1e",
      "Sequence": 1,
      "AncestorCategoryId": "76ed1514-d40b-4af9-9804-df8141090d3e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "ac58eac1-f669-4454-a8a9-ff15971a5576",
          "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": "fd0258b1-bd0a-40cf-9f1e-5a1015cc78b1",
    "CategoryId": "8501fa7e-fc71-4838-9902-f665ea56c51d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "51f2061f-22e7-4806-a7b6-08667fbc0b3d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "51f2061f-22e7-4806-a7b6-08667fbc0b3d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f3b0fa21-44c9-4e08-abcc-5fd1d6a5b2b5",
      "Questions": [
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        },
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f3b0fa21-44c9-4e08-abcc-5fd1d6a5b2b5",
      "Questions": [
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        },
        {
          "Id": "b5c937b8-91e1-494c-a8ee-f4bcdeee1631",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ad6a9829-5cac-4e22-a748-6bc64247330b",
      "ContentItemId": "90a61f32-88a7-4517-968b-2729c98ebd6e",
      "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-12-03T02:34:09.6352312+00:00",
      "RescheduleDate": "2026-12-03T02:34:09.6352312+00:00"
    },
    {
      "Id": "ad6a9829-5cac-4e22-a748-6bc64247330b",
      "ContentItemId": "90a61f32-88a7-4517-968b-2729c98ebd6e",
      "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-12-03T02:34:09.6352312+00:00",
      "RescheduleDate": "2026-12-03T02:34:09.6352312+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}