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": "08ebd117-3d34-4006-b564-ea41911ef99c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-31T21:31:51.1123694+00:00",
  "Registration": [
    {
      "Id": "6b547b7d-0edb-47d5-ad1d-a7cf0d4356ec",
      "UserId": "ef6aa07e-0636-4510-92c1-94ec9896c887",
      "IsCurrent": true,
      "CenterId": "a603f38e-8369-45bf-82db-43510612f618",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "57296d8b-06b7-4ef0-b77f-ed5265c62d60",
      "EndDate": "2026-08-31T21:31:51.1123694+00:00",
      "StartDate": "2026-08-31T21:31:51.1123694+00:00",
      "SchedulePreferenceDate": "2026-08-31T21:31:51.1123694+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": "6b547b7d-0edb-47d5-ad1d-a7cf0d4356ec",
      "UserId": "ef6aa07e-0636-4510-92c1-94ec9896c887",
      "IsCurrent": true,
      "CenterId": "a603f38e-8369-45bf-82db-43510612f618",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "57296d8b-06b7-4ef0-b77f-ed5265c62d60",
      "EndDate": "2026-08-31T21:31:51.1123694+00:00",
      "StartDate": "2026-08-31T21:31:51.1123694+00:00",
      "SchedulePreferenceDate": "2026-08-31T21:31:51.1123694+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-31T21:31:51.1123694+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "85976f32-e695-48a7-b109-8686e0f5d919",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1221fe27-aa4c-4313-b558-d6114ee4b49a",
      "Sequence": 1,
      "AncestorCategoryId": "8a08d793-e5d6-4ede-ac10-0b9dd4482f41",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "85976f32-e695-48a7-b109-8686e0f5d919",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1221fe27-aa4c-4313-b558-d6114ee4b49a",
      "Sequence": 1,
      "AncestorCategoryId": "8a08d793-e5d6-4ede-ac10-0b9dd4482f41",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "ecb339a7-0af8-47a2-bbbf-022171630731",
    "CategoryId": "17338bf9-9c23-4c9a-8a4c-ac5b652848fc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e80365d9-0121-4611-8d9a-a80cf5468d84",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e80365d9-0121-4611-8d9a-a80cf5468d84",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "172f5651-2047-4dd3-aa5f-79e1cfff9ac3",
      "Questions": [
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        },
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "172f5651-2047-4dd3-aa5f-79e1cfff9ac3",
      "Questions": [
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        },
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ef1908c5-e9e9-4c0b-8897-3f52bf4abc8c",
      "ContentItemId": "a79e9977-f8a2-4a61-aee2-f9ee55d69cc9",
      "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-31T21:31:51.1123694+00:00",
      "RescheduleDate": "2026-08-31T21:31:51.1123694+00:00"
    },
    {
      "Id": "ef1908c5-e9e9-4c0b-8897-3f52bf4abc8c",
      "ContentItemId": "a79e9977-f8a2-4a61-aee2-f9ee55d69cc9",
      "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-31T21:31:51.1123694+00:00",
      "RescheduleDate": "2026-08-31T21:31:51.1123694+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": "08ebd117-3d34-4006-b564-ea41911ef99c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-31T21:31:51.1279946+00:00",
  "Registration": [
    {
      "Id": "6b547b7d-0edb-47d5-ad1d-a7cf0d4356ec",
      "UserId": "ef6aa07e-0636-4510-92c1-94ec9896c887",
      "IsCurrent": true,
      "CenterId": "a603f38e-8369-45bf-82db-43510612f618",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "57296d8b-06b7-4ef0-b77f-ed5265c62d60",
      "EndDate": "2026-08-31T21:31:51.1123694+00:00",
      "StartDate": "2026-08-31T21:31:51.1123694+00:00",
      "SchedulePreferenceDate": "2026-08-31T21:31:51.1123694+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": "6b547b7d-0edb-47d5-ad1d-a7cf0d4356ec",
      "UserId": "ef6aa07e-0636-4510-92c1-94ec9896c887",
      "IsCurrent": true,
      "CenterId": "a603f38e-8369-45bf-82db-43510612f618",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "57296d8b-06b7-4ef0-b77f-ed5265c62d60",
      "EndDate": "2026-08-31T21:31:51.1123694+00:00",
      "StartDate": "2026-08-31T21:31:51.1123694+00:00",
      "SchedulePreferenceDate": "2026-08-31T21:31:51.1123694+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-31T21:31:51.1123694+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "85976f32-e695-48a7-b109-8686e0f5d919",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1221fe27-aa4c-4313-b558-d6114ee4b49a",
      "Sequence": 1,
      "AncestorCategoryId": "8a08d793-e5d6-4ede-ac10-0b9dd4482f41",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "85976f32-e695-48a7-b109-8686e0f5d919",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1221fe27-aa4c-4313-b558-d6114ee4b49a",
      "Sequence": 1,
      "AncestorCategoryId": "8a08d793-e5d6-4ede-ac10-0b9dd4482f41",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "f23d2f33-1c65-44d2-b64b-6b2cb8b91002",
          "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": "ecb339a7-0af8-47a2-bbbf-022171630731",
    "CategoryId": "17338bf9-9c23-4c9a-8a4c-ac5b652848fc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e80365d9-0121-4611-8d9a-a80cf5468d84",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e80365d9-0121-4611-8d9a-a80cf5468d84",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "172f5651-2047-4dd3-aa5f-79e1cfff9ac3",
      "Questions": [
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        },
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "172f5651-2047-4dd3-aa5f-79e1cfff9ac3",
      "Questions": [
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        },
        {
          "Id": "f1c121c8-1c9b-4da1-8389-64a633e4d548",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ef1908c5-e9e9-4c0b-8897-3f52bf4abc8c",
      "ContentItemId": "a79e9977-f8a2-4a61-aee2-f9ee55d69cc9",
      "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-31T21:31:51.1123694+00:00",
      "RescheduleDate": "2026-08-31T21:31:51.1123694+00:00"
    },
    {
      "Id": "ef1908c5-e9e9-4c0b-8897-3f52bf4abc8c",
      "ContentItemId": "a79e9977-f8a2-4a61-aee2-f9ee55d69cc9",
      "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-31T21:31:51.1123694+00:00",
      "RescheduleDate": "2026-08-31T21:31:51.1123694+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}