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": "abca8792-1efd-4405-bd17-6ccc14e0c8a4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-06T16:39:28.9634106+00:00",
  "Registration": [
    {
      "Id": "8035c1c5-950f-416d-85ae-afe1c3278cc3",
      "UserId": "00377f3c-c4a1-4c44-815d-c49b752028ab",
      "IsCurrent": true,
      "CenterId": "fecbd279-12b7-4e64-adb5-aad04f9c98f6",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0efc5ff3-65e4-4bd7-b505-4ef25a490daa",
      "EndDate": "2026-07-06T16:39:28.9634106+00:00",
      "StartDate": "2026-07-06T16:39:28.9634106+00:00",
      "SchedulePreferenceDate": "2026-07-06T16:39:28.9634106+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": "8035c1c5-950f-416d-85ae-afe1c3278cc3",
      "UserId": "00377f3c-c4a1-4c44-815d-c49b752028ab",
      "IsCurrent": true,
      "CenterId": "fecbd279-12b7-4e64-adb5-aad04f9c98f6",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0efc5ff3-65e4-4bd7-b505-4ef25a490daa",
      "EndDate": "2026-07-06T16:39:28.9634106+00:00",
      "StartDate": "2026-07-06T16:39:28.9634106+00:00",
      "SchedulePreferenceDate": "2026-07-06T16:39:28.9634106+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-07-06T16:39:28.9634106+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d7fc4b91-fdd5-4a2a-aeed-00b6d0fb0c60",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "64f1c14a-7aec-4d9a-9ee4-662b1d0c4d21",
      "Sequence": 1,
      "AncestorCategoryId": "74ac6c7e-a093-45dc-995a-ebc5a21aa87a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "d7fc4b91-fdd5-4a2a-aeed-00b6d0fb0c60",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "64f1c14a-7aec-4d9a-9ee4-662b1d0c4d21",
      "Sequence": 1,
      "AncestorCategoryId": "74ac6c7e-a093-45dc-995a-ebc5a21aa87a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "7c260443-7044-4293-91d5-a4ec96f87d59",
    "CategoryId": "81696626-ef21-4f85-b210-cfc0daa141ad",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "97034014-cbee-4910-af34-ab683b3ad78d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "97034014-cbee-4910-af34-ab683b3ad78d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0705dd4e-fe0a-4ff2-b88c-512144ccbbcb",
      "Questions": [
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        },
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0705dd4e-fe0a-4ff2-b88c-512144ccbbcb",
      "Questions": [
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        },
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "82d1e990-2df5-4627-bae0-256f39a17ac3",
      "ContentItemId": "d9a13643-0d81-4561-85a5-889d4ff8447b",
      "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-07-06T16:39:28.9634106+00:00",
      "RescheduleDate": "2026-07-06T16:39:28.9634106+00:00"
    },
    {
      "Id": "82d1e990-2df5-4627-bae0-256f39a17ac3",
      "ContentItemId": "d9a13643-0d81-4561-85a5-889d4ff8447b",
      "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-07-06T16:39:28.9634106+00:00",
      "RescheduleDate": "2026-07-06T16:39:28.9634106+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": "abca8792-1efd-4405-bd17-6ccc14e0c8a4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-06T16:39:28.9946734+00:00",
  "Registration": [
    {
      "Id": "8035c1c5-950f-416d-85ae-afe1c3278cc3",
      "UserId": "00377f3c-c4a1-4c44-815d-c49b752028ab",
      "IsCurrent": true,
      "CenterId": "fecbd279-12b7-4e64-adb5-aad04f9c98f6",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0efc5ff3-65e4-4bd7-b505-4ef25a490daa",
      "EndDate": "2026-07-06T16:39:28.9634106+00:00",
      "StartDate": "2026-07-06T16:39:28.9634106+00:00",
      "SchedulePreferenceDate": "2026-07-06T16:39:28.9634106+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": "8035c1c5-950f-416d-85ae-afe1c3278cc3",
      "UserId": "00377f3c-c4a1-4c44-815d-c49b752028ab",
      "IsCurrent": true,
      "CenterId": "fecbd279-12b7-4e64-adb5-aad04f9c98f6",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0efc5ff3-65e4-4bd7-b505-4ef25a490daa",
      "EndDate": "2026-07-06T16:39:28.9634106+00:00",
      "StartDate": "2026-07-06T16:39:28.9634106+00:00",
      "SchedulePreferenceDate": "2026-07-06T16:39:28.9634106+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-07-06T16:39:28.9634106+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d7fc4b91-fdd5-4a2a-aeed-00b6d0fb0c60",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "64f1c14a-7aec-4d9a-9ee4-662b1d0c4d21",
      "Sequence": 1,
      "AncestorCategoryId": "74ac6c7e-a093-45dc-995a-ebc5a21aa87a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "d7fc4b91-fdd5-4a2a-aeed-00b6d0fb0c60",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "64f1c14a-7aec-4d9a-9ee4-662b1d0c4d21",
      "Sequence": 1,
      "AncestorCategoryId": "74ac6c7e-a093-45dc-995a-ebc5a21aa87a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "b61bc8f5-8b4a-45db-b0e7-764c7bf9c3fb",
          "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": "7c260443-7044-4293-91d5-a4ec96f87d59",
    "CategoryId": "81696626-ef21-4f85-b210-cfc0daa141ad",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "97034014-cbee-4910-af34-ab683b3ad78d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "97034014-cbee-4910-af34-ab683b3ad78d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0705dd4e-fe0a-4ff2-b88c-512144ccbbcb",
      "Questions": [
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        },
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0705dd4e-fe0a-4ff2-b88c-512144ccbbcb",
      "Questions": [
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        },
        {
          "Id": "9462d07a-a0c3-433d-8107-35da72c1cb37",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "82d1e990-2df5-4627-bae0-256f39a17ac3",
      "ContentItemId": "d9a13643-0d81-4561-85a5-889d4ff8447b",
      "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-07-06T16:39:28.9634106+00:00",
      "RescheduleDate": "2026-07-06T16:39:28.9634106+00:00"
    },
    {
      "Id": "82d1e990-2df5-4627-bae0-256f39a17ac3",
      "ContentItemId": "d9a13643-0d81-4561-85a5-889d4ff8447b",
      "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-07-06T16:39:28.9634106+00:00",
      "RescheduleDate": "2026-07-06T16:39:28.9634106+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}