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": "a53c9518-942d-4002-b8f1-52ca36cb3dce",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-07T12:02:24.2784685+00:00",
  "Registration": [
    {
      "Id": "b482b375-2860-4f2a-a558-d25713bc9244",
      "UserId": "ce594020-5d2f-4f23-86ea-445e13848592",
      "IsCurrent": true,
      "CenterId": "76264318-0999-4f8f-a2fd-606641b9ce6b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e7f4700f-e49b-413b-8e1d-9af48fd3981d",
      "EndDate": "2026-05-07T12:02:24.2784685+00:00",
      "StartDate": "2026-05-07T12:02:24.2784685+00:00",
      "SchedulePreferenceDate": "2026-05-07T12:02:24.2784685+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": "b482b375-2860-4f2a-a558-d25713bc9244",
      "UserId": "ce594020-5d2f-4f23-86ea-445e13848592",
      "IsCurrent": true,
      "CenterId": "76264318-0999-4f8f-a2fd-606641b9ce6b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e7f4700f-e49b-413b-8e1d-9af48fd3981d",
      "EndDate": "2026-05-07T12:02:24.2784685+00:00",
      "StartDate": "2026-05-07T12:02:24.2784685+00:00",
      "SchedulePreferenceDate": "2026-05-07T12:02:24.2784685+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-05-07T12:02:24.2784685+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "41e05f5e-843f-4bbb-b5a4-2fa41576dd72",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "44c2f7e5-6e1d-46d0-807c-57a041e198e1",
      "Sequence": 1,
      "AncestorCategoryId": "579758d4-d792-4358-bd9b-4564c618f2b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "41e05f5e-843f-4bbb-b5a4-2fa41576dd72",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "44c2f7e5-6e1d-46d0-807c-57a041e198e1",
      "Sequence": 1,
      "AncestorCategoryId": "579758d4-d792-4358-bd9b-4564c618f2b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "9e35c690-dd9a-413d-9c80-92ee354b1985",
    "CategoryId": "0c19d33c-3680-49d0-84b2-9e00d3f85743",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ca3f1a5f-dc81-4b82-ab0f-9407b4527afd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ca3f1a5f-dc81-4b82-ab0f-9407b4527afd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a0d10d66-c3af-4a15-bed9-ec1123637662",
      "Questions": [
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a0d10d66-c3af-4a15-bed9-ec1123637662",
      "Questions": [
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f3b05c8a-50ea-49f7-975d-e98cfe2c0d19",
      "ContentItemId": "f4be533e-af25-4b94-bb7c-d69e9c224cd9",
      "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-05-07T12:02:24.2784685+00:00",
      "RescheduleDate": "2026-05-07T12:02:24.2784685+00:00"
    },
    {
      "Id": "f3b05c8a-50ea-49f7-975d-e98cfe2c0d19",
      "ContentItemId": "f4be533e-af25-4b94-bb7c-d69e9c224cd9",
      "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-05-07T12:02:24.2784685+00:00",
      "RescheduleDate": "2026-05-07T12:02:24.2784685+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": "a53c9518-942d-4002-b8f1-52ca36cb3dce",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-07T12:02:24.3253433+00:00",
  "Registration": [
    {
      "Id": "b482b375-2860-4f2a-a558-d25713bc9244",
      "UserId": "ce594020-5d2f-4f23-86ea-445e13848592",
      "IsCurrent": true,
      "CenterId": "76264318-0999-4f8f-a2fd-606641b9ce6b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e7f4700f-e49b-413b-8e1d-9af48fd3981d",
      "EndDate": "2026-05-07T12:02:24.2784685+00:00",
      "StartDate": "2026-05-07T12:02:24.2784685+00:00",
      "SchedulePreferenceDate": "2026-05-07T12:02:24.2784685+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": "b482b375-2860-4f2a-a558-d25713bc9244",
      "UserId": "ce594020-5d2f-4f23-86ea-445e13848592",
      "IsCurrent": true,
      "CenterId": "76264318-0999-4f8f-a2fd-606641b9ce6b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e7f4700f-e49b-413b-8e1d-9af48fd3981d",
      "EndDate": "2026-05-07T12:02:24.2784685+00:00",
      "StartDate": "2026-05-07T12:02:24.2784685+00:00",
      "SchedulePreferenceDate": "2026-05-07T12:02:24.2784685+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-05-07T12:02:24.2784685+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "41e05f5e-843f-4bbb-b5a4-2fa41576dd72",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "44c2f7e5-6e1d-46d0-807c-57a041e198e1",
      "Sequence": 1,
      "AncestorCategoryId": "579758d4-d792-4358-bd9b-4564c618f2b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "41e05f5e-843f-4bbb-b5a4-2fa41576dd72",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "44c2f7e5-6e1d-46d0-807c-57a041e198e1",
      "Sequence": 1,
      "AncestorCategoryId": "579758d4-d792-4358-bd9b-4564c618f2b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "5275ce19-0adc-4207-a7d6-69b5f8fd40fe",
          "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": "9e35c690-dd9a-413d-9c80-92ee354b1985",
    "CategoryId": "0c19d33c-3680-49d0-84b2-9e00d3f85743",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ca3f1a5f-dc81-4b82-ab0f-9407b4527afd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ca3f1a5f-dc81-4b82-ab0f-9407b4527afd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a0d10d66-c3af-4a15-bed9-ec1123637662",
      "Questions": [
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a0d10d66-c3af-4a15-bed9-ec1123637662",
      "Questions": [
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "357277a8-bb63-499a-beaa-9e15529bf7b1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f3b05c8a-50ea-49f7-975d-e98cfe2c0d19",
      "ContentItemId": "f4be533e-af25-4b94-bb7c-d69e9c224cd9",
      "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-05-07T12:02:24.2784685+00:00",
      "RescheduleDate": "2026-05-07T12:02:24.2784685+00:00"
    },
    {
      "Id": "f3b05c8a-50ea-49f7-975d-e98cfe2c0d19",
      "ContentItemId": "f4be533e-af25-4b94-bb7c-d69e9c224cd9",
      "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-05-07T12:02:24.2784685+00:00",
      "RescheduleDate": "2026-05-07T12:02:24.2784685+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}