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": "337c7119-48fc-4e17-8265-0a94b3984cc9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-24T21:04:25.4757855+00:00",
  "Registration": [
    {
      "Id": "1b7ee7a6-f581-435f-889d-1246de253ee4",
      "UserId": "5a1dd2b8-f7d7-461f-88d2-0fa893a79838",
      "IsCurrent": true,
      "CenterId": "9c522730-d4a2-4910-aac3-6de8adfd591a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8d49a03-2421-4156-b50a-de80ec69ca37",
      "EndDate": "2026-04-24T21:04:25.4601643+00:00",
      "StartDate": "2026-04-24T21:04:25.4601643+00:00",
      "SchedulePreferenceDate": "2026-04-24T21:04:25.4601643+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": "1b7ee7a6-f581-435f-889d-1246de253ee4",
      "UserId": "5a1dd2b8-f7d7-461f-88d2-0fa893a79838",
      "IsCurrent": true,
      "CenterId": "9c522730-d4a2-4910-aac3-6de8adfd591a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8d49a03-2421-4156-b50a-de80ec69ca37",
      "EndDate": "2026-04-24T21:04:25.4601643+00:00",
      "StartDate": "2026-04-24T21:04:25.4601643+00:00",
      "SchedulePreferenceDate": "2026-04-24T21:04:25.4601643+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-04-24T21:04:25.4601643+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ec6d9b1b-4394-46ff-b3f1-3de081962e8f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb2ee568-a552-4ea0-a289-68c5f064bf5e",
      "Sequence": 1,
      "AncestorCategoryId": "f30d67e3-7c7a-4434-b07d-2e9a26ea66c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "ec6d9b1b-4394-46ff-b3f1-3de081962e8f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb2ee568-a552-4ea0-a289-68c5f064bf5e",
      "Sequence": 1,
      "AncestorCategoryId": "f30d67e3-7c7a-4434-b07d-2e9a26ea66c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "c415cb8b-cd9b-4cdf-b627-1c77163f549a",
    "CategoryId": "2f79ca59-5cb3-42cd-b55a-8a5e5d31b236",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "87b6672a-6cb1-41ea-9d7c-aa073a1f2638",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "87b6672a-6cb1-41ea-9d7c-aa073a1f2638",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a9f19034-9ade-4e17-be32-302a52895845",
      "Questions": [
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        },
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a9f19034-9ade-4e17-be32-302a52895845",
      "Questions": [
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        },
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f1bb49a0-dbb0-4a70-96c3-7aa65e409892",
      "ContentItemId": "603b0081-2f93-43cd-ac38-968103ad0211",
      "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-04-24T21:04:25.4601643+00:00",
      "RescheduleDate": "2026-04-24T21:04:25.4601643+00:00"
    },
    {
      "Id": "f1bb49a0-dbb0-4a70-96c3-7aa65e409892",
      "ContentItemId": "603b0081-2f93-43cd-ac38-968103ad0211",
      "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-04-24T21:04:25.4601643+00:00",
      "RescheduleDate": "2026-04-24T21:04:25.4601643+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": "337c7119-48fc-4e17-8265-0a94b3984cc9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-24T21:04:25.5070358+00:00",
  "Registration": [
    {
      "Id": "1b7ee7a6-f581-435f-889d-1246de253ee4",
      "UserId": "5a1dd2b8-f7d7-461f-88d2-0fa893a79838",
      "IsCurrent": true,
      "CenterId": "9c522730-d4a2-4910-aac3-6de8adfd591a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8d49a03-2421-4156-b50a-de80ec69ca37",
      "EndDate": "2026-04-24T21:04:25.4601643+00:00",
      "StartDate": "2026-04-24T21:04:25.4601643+00:00",
      "SchedulePreferenceDate": "2026-04-24T21:04:25.4601643+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": "1b7ee7a6-f581-435f-889d-1246de253ee4",
      "UserId": "5a1dd2b8-f7d7-461f-88d2-0fa893a79838",
      "IsCurrent": true,
      "CenterId": "9c522730-d4a2-4910-aac3-6de8adfd591a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8d49a03-2421-4156-b50a-de80ec69ca37",
      "EndDate": "2026-04-24T21:04:25.4601643+00:00",
      "StartDate": "2026-04-24T21:04:25.4601643+00:00",
      "SchedulePreferenceDate": "2026-04-24T21:04:25.4601643+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-04-24T21:04:25.4601643+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ec6d9b1b-4394-46ff-b3f1-3de081962e8f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb2ee568-a552-4ea0-a289-68c5f064bf5e",
      "Sequence": 1,
      "AncestorCategoryId": "f30d67e3-7c7a-4434-b07d-2e9a26ea66c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "ec6d9b1b-4394-46ff-b3f1-3de081962e8f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb2ee568-a552-4ea0-a289-68c5f064bf5e",
      "Sequence": 1,
      "AncestorCategoryId": "f30d67e3-7c7a-4434-b07d-2e9a26ea66c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "8fe4e3d5-8d11-4622-a9d5-f0a1c3fa7b6a",
          "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": "c415cb8b-cd9b-4cdf-b627-1c77163f549a",
    "CategoryId": "2f79ca59-5cb3-42cd-b55a-8a5e5d31b236",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "87b6672a-6cb1-41ea-9d7c-aa073a1f2638",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "87b6672a-6cb1-41ea-9d7c-aa073a1f2638",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a9f19034-9ade-4e17-be32-302a52895845",
      "Questions": [
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        },
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a9f19034-9ade-4e17-be32-302a52895845",
      "Questions": [
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        },
        {
          "Id": "2345c642-dc9f-4eba-ac00-5c6344d6100b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f1bb49a0-dbb0-4a70-96c3-7aa65e409892",
      "ContentItemId": "603b0081-2f93-43cd-ac38-968103ad0211",
      "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-04-24T21:04:25.4601643+00:00",
      "RescheduleDate": "2026-04-24T21:04:25.4601643+00:00"
    },
    {
      "Id": "f1bb49a0-dbb0-4a70-96c3-7aa65e409892",
      "ContentItemId": "603b0081-2f93-43cd-ac38-968103ad0211",
      "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-04-24T21:04:25.4601643+00:00",
      "RescheduleDate": "2026-04-24T21:04:25.4601643+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}