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": "e106f5f8-846f-4686-b584-a31b299e1d47",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-30T10:14:16.4313617+00:00",
  "Registration": [
    {
      "Id": "68b47399-5487-491a-81aa-128b979952cf",
      "UserId": "33e9a453-8292-4328-a50f-7043bbc1fdfe",
      "IsCurrent": true,
      "CenterId": "3adc8ac1-29e5-4314-9b5e-d9286e2566ce",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b4a99d43-3902-4f9e-823a-22a73ad7adfc",
      "EndDate": "2026-06-30T10:14:16.4157387+00:00",
      "StartDate": "2026-06-30T10:14:16.4157387+00:00",
      "SchedulePreferenceDate": "2026-06-30T10:14:16.4157387+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": "68b47399-5487-491a-81aa-128b979952cf",
      "UserId": "33e9a453-8292-4328-a50f-7043bbc1fdfe",
      "IsCurrent": true,
      "CenterId": "3adc8ac1-29e5-4314-9b5e-d9286e2566ce",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b4a99d43-3902-4f9e-823a-22a73ad7adfc",
      "EndDate": "2026-06-30T10:14:16.4157387+00:00",
      "StartDate": "2026-06-30T10:14:16.4157387+00:00",
      "SchedulePreferenceDate": "2026-06-30T10:14:16.4157387+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-06-30T10:14:16.4157387+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b3c265dd-1d06-4d34-a83a-2ac0a6a29d54",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be1dfb84-673d-4c00-b6c6-cdd9dd7a5c60",
      "Sequence": 1,
      "AncestorCategoryId": "cce0aa4a-99d6-44ab-b4c1-845172567954",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "b3c265dd-1d06-4d34-a83a-2ac0a6a29d54",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be1dfb84-673d-4c00-b6c6-cdd9dd7a5c60",
      "Sequence": 1,
      "AncestorCategoryId": "cce0aa4a-99d6-44ab-b4c1-845172567954",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "47d46ca2-fda8-467f-aaa2-0e318588669f",
    "CategoryId": "09153c39-9037-4b1c-8432-0c4a49ff9370",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0600bc17-c9f9-4041-9b49-da2fc7eeb6a4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0600bc17-c9f9-4041-9b49-da2fc7eeb6a4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2f3eab5c-a9e8-4d64-ae3e-defc10991a03",
      "Questions": [
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2f3eab5c-a9e8-4d64-ae3e-defc10991a03",
      "Questions": [
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dc9fc8f4-74c8-4de6-aa49-cbd0c97e5b4b",
      "ContentItemId": "823cf4df-4a97-4ea0-a082-2eef11fed583",
      "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-06-30T10:14:16.4157387+00:00",
      "RescheduleDate": "2026-06-30T10:14:16.4157387+00:00"
    },
    {
      "Id": "dc9fc8f4-74c8-4de6-aa49-cbd0c97e5b4b",
      "ContentItemId": "823cf4df-4a97-4ea0-a082-2eef11fed583",
      "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-06-30T10:14:16.4157387+00:00",
      "RescheduleDate": "2026-06-30T10:14:16.4157387+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": "e106f5f8-846f-4686-b584-a31b299e1d47",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-30T10:14:16.4626149+00:00",
  "Registration": [
    {
      "Id": "68b47399-5487-491a-81aa-128b979952cf",
      "UserId": "33e9a453-8292-4328-a50f-7043bbc1fdfe",
      "IsCurrent": true,
      "CenterId": "3adc8ac1-29e5-4314-9b5e-d9286e2566ce",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b4a99d43-3902-4f9e-823a-22a73ad7adfc",
      "EndDate": "2026-06-30T10:14:16.4157387+00:00",
      "StartDate": "2026-06-30T10:14:16.4157387+00:00",
      "SchedulePreferenceDate": "2026-06-30T10:14:16.4157387+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": "68b47399-5487-491a-81aa-128b979952cf",
      "UserId": "33e9a453-8292-4328-a50f-7043bbc1fdfe",
      "IsCurrent": true,
      "CenterId": "3adc8ac1-29e5-4314-9b5e-d9286e2566ce",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b4a99d43-3902-4f9e-823a-22a73ad7adfc",
      "EndDate": "2026-06-30T10:14:16.4157387+00:00",
      "StartDate": "2026-06-30T10:14:16.4157387+00:00",
      "SchedulePreferenceDate": "2026-06-30T10:14:16.4157387+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-06-30T10:14:16.4157387+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b3c265dd-1d06-4d34-a83a-2ac0a6a29d54",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be1dfb84-673d-4c00-b6c6-cdd9dd7a5c60",
      "Sequence": 1,
      "AncestorCategoryId": "cce0aa4a-99d6-44ab-b4c1-845172567954",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "b3c265dd-1d06-4d34-a83a-2ac0a6a29d54",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be1dfb84-673d-4c00-b6c6-cdd9dd7a5c60",
      "Sequence": 1,
      "AncestorCategoryId": "cce0aa4a-99d6-44ab-b4c1-845172567954",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "32c8e786-060a-4e22-8774-4b164e4c37ab",
          "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": "47d46ca2-fda8-467f-aaa2-0e318588669f",
    "CategoryId": "09153c39-9037-4b1c-8432-0c4a49ff9370",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0600bc17-c9f9-4041-9b49-da2fc7eeb6a4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0600bc17-c9f9-4041-9b49-da2fc7eeb6a4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2f3eab5c-a9e8-4d64-ae3e-defc10991a03",
      "Questions": [
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2f3eab5c-a9e8-4d64-ae3e-defc10991a03",
      "Questions": [
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca65c5c0-775e-4ec6-a00b-08e5e74947b5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dc9fc8f4-74c8-4de6-aa49-cbd0c97e5b4b",
      "ContentItemId": "823cf4df-4a97-4ea0-a082-2eef11fed583",
      "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-06-30T10:14:16.4157387+00:00",
      "RescheduleDate": "2026-06-30T10:14:16.4157387+00:00"
    },
    {
      "Id": "dc9fc8f4-74c8-4de6-aa49-cbd0c97e5b4b",
      "ContentItemId": "823cf4df-4a97-4ea0-a082-2eef11fed583",
      "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-06-30T10:14:16.4157387+00:00",
      "RescheduleDate": "2026-06-30T10:14:16.4157387+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}