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": "b7447f7d-557a-425f-af67-0f7cc8f9f3e5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-18T09:31:51.5481604+00:00",
  "Registration": [
    {
      "Id": "e52213ec-e0ef-4185-85da-be948426dd1e",
      "UserId": "06eb4f56-d02b-4734-921c-06a080d00b89",
      "IsCurrent": true,
      "CenterId": "e937e474-ad22-4652-b9b8-b914aceb0a1f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4775e1e5-a550-4a51-90ef-5ee04a084699",
      "EndDate": "2026-09-18T09:31:51.5481604+00:00",
      "StartDate": "2026-09-18T09:31:51.5481604+00:00",
      "SchedulePreferenceDate": "2026-09-18T09:31:51.5481604+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": "e52213ec-e0ef-4185-85da-be948426dd1e",
      "UserId": "06eb4f56-d02b-4734-921c-06a080d00b89",
      "IsCurrent": true,
      "CenterId": "e937e474-ad22-4652-b9b8-b914aceb0a1f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4775e1e5-a550-4a51-90ef-5ee04a084699",
      "EndDate": "2026-09-18T09:31:51.5481604+00:00",
      "StartDate": "2026-09-18T09:31:51.5481604+00:00",
      "SchedulePreferenceDate": "2026-09-18T09:31:51.5481604+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-09-18T09:31:51.5481604+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c9234614-11f5-4135-90c7-56e6107eb2b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1fa4ce0b-8471-4754-a148-40214c9d6284",
      "Sequence": 1,
      "AncestorCategoryId": "3332da21-73ce-4dd9-b08b-d9dbf59879d0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "c9234614-11f5-4135-90c7-56e6107eb2b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1fa4ce0b-8471-4754-a148-40214c9d6284",
      "Sequence": 1,
      "AncestorCategoryId": "3332da21-73ce-4dd9-b08b-d9dbf59879d0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "3416c681-9e77-44de-9e25-7d78c491d60d",
    "CategoryId": "dd686e5c-8106-4d82-8226-6d2d315265ec",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "54a9270d-4bbc-4365-b642-a8b60483c4f6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "54a9270d-4bbc-4365-b642-a8b60483c4f6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c4d1e146-9d49-43cf-984e-d38c425da71e",
      "Questions": [
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        },
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c4d1e146-9d49-43cf-984e-d38c425da71e",
      "Questions": [
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        },
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a66fe466-a327-4cd7-a016-f43e20a84a1b",
      "ContentItemId": "0642aa01-d85f-4994-9bce-97eb6390fb24",
      "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-09-18T09:31:51.5481604+00:00",
      "RescheduleDate": "2026-09-18T09:31:51.5481604+00:00"
    },
    {
      "Id": "a66fe466-a327-4cd7-a016-f43e20a84a1b",
      "ContentItemId": "0642aa01-d85f-4994-9bce-97eb6390fb24",
      "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-09-18T09:31:51.5481604+00:00",
      "RescheduleDate": "2026-09-18T09:31:51.5481604+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": "b7447f7d-557a-425f-af67-0f7cc8f9f3e5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-18T09:31:51.5950399+00:00",
  "Registration": [
    {
      "Id": "e52213ec-e0ef-4185-85da-be948426dd1e",
      "UserId": "06eb4f56-d02b-4734-921c-06a080d00b89",
      "IsCurrent": true,
      "CenterId": "e937e474-ad22-4652-b9b8-b914aceb0a1f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4775e1e5-a550-4a51-90ef-5ee04a084699",
      "EndDate": "2026-09-18T09:31:51.5481604+00:00",
      "StartDate": "2026-09-18T09:31:51.5481604+00:00",
      "SchedulePreferenceDate": "2026-09-18T09:31:51.5481604+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": "e52213ec-e0ef-4185-85da-be948426dd1e",
      "UserId": "06eb4f56-d02b-4734-921c-06a080d00b89",
      "IsCurrent": true,
      "CenterId": "e937e474-ad22-4652-b9b8-b914aceb0a1f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4775e1e5-a550-4a51-90ef-5ee04a084699",
      "EndDate": "2026-09-18T09:31:51.5481604+00:00",
      "StartDate": "2026-09-18T09:31:51.5481604+00:00",
      "SchedulePreferenceDate": "2026-09-18T09:31:51.5481604+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-09-18T09:31:51.5481604+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c9234614-11f5-4135-90c7-56e6107eb2b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1fa4ce0b-8471-4754-a148-40214c9d6284",
      "Sequence": 1,
      "AncestorCategoryId": "3332da21-73ce-4dd9-b08b-d9dbf59879d0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "c9234614-11f5-4135-90c7-56e6107eb2b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1fa4ce0b-8471-4754-a148-40214c9d6284",
      "Sequence": 1,
      "AncestorCategoryId": "3332da21-73ce-4dd9-b08b-d9dbf59879d0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "7d1cf99e-064b-4e9e-a7e7-f76946d0dde7",
          "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": "3416c681-9e77-44de-9e25-7d78c491d60d",
    "CategoryId": "dd686e5c-8106-4d82-8226-6d2d315265ec",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "54a9270d-4bbc-4365-b642-a8b60483c4f6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "54a9270d-4bbc-4365-b642-a8b60483c4f6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c4d1e146-9d49-43cf-984e-d38c425da71e",
      "Questions": [
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        },
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c4d1e146-9d49-43cf-984e-d38c425da71e",
      "Questions": [
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        },
        {
          "Id": "10b26a21-8ba8-4d5c-8cb1-05e28f02e0fc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a66fe466-a327-4cd7-a016-f43e20a84a1b",
      "ContentItemId": "0642aa01-d85f-4994-9bce-97eb6390fb24",
      "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-09-18T09:31:51.5481604+00:00",
      "RescheduleDate": "2026-09-18T09:31:51.5481604+00:00"
    },
    {
      "Id": "a66fe466-a327-4cd7-a016-f43e20a84a1b",
      "ContentItemId": "0642aa01-d85f-4994-9bce-97eb6390fb24",
      "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-09-18T09:31:51.5481604+00:00",
      "RescheduleDate": "2026-09-18T09:31:51.5481604+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}