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": "eb965c30-8277-4b48-8b8a-63e75b7b1294",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-23T10:08:38.761281+00:00",
  "Registration": [
    {
      "Id": "f8def636-f834-43bb-8883-af659b28e459",
      "UserId": "ad9db2d0-4449-4d3a-917e-cbe90eff3de1",
      "IsCurrent": true,
      "CenterId": "4f514b42-f2b6-44ee-a758-502d226c07fb",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7cb4da1e-eb36-4686-b383-8574a56dcabf",
      "EndDate": "2026-10-23T10:08:38.7456544+00:00",
      "StartDate": "2026-10-23T10:08:38.7456544+00:00",
      "SchedulePreferenceDate": "2026-10-23T10:08:38.7456544+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": "f8def636-f834-43bb-8883-af659b28e459",
      "UserId": "ad9db2d0-4449-4d3a-917e-cbe90eff3de1",
      "IsCurrent": true,
      "CenterId": "4f514b42-f2b6-44ee-a758-502d226c07fb",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7cb4da1e-eb36-4686-b383-8574a56dcabf",
      "EndDate": "2026-10-23T10:08:38.7456544+00:00",
      "StartDate": "2026-10-23T10:08:38.7456544+00:00",
      "SchedulePreferenceDate": "2026-10-23T10:08:38.7456544+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-10-23T10:08:38.7456544+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a72cc44d-c25b-40ea-8c21-d0a0797e0d67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "15a71eaf-6170-4c59-be74-2faa8786ad81",
      "Sequence": 1,
      "AncestorCategoryId": "969d3d08-18fd-495c-9df0-f6ccd3ae7008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "a72cc44d-c25b-40ea-8c21-d0a0797e0d67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "15a71eaf-6170-4c59-be74-2faa8786ad81",
      "Sequence": 1,
      "AncestorCategoryId": "969d3d08-18fd-495c-9df0-f6ccd3ae7008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "c55f2729-2c0e-403d-852b-dc8593f81050",
    "CategoryId": "98ab734c-0fb7-4e1a-94f1-082805c04841",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6e062050-902f-4dd2-b424-c5674a139134",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6e062050-902f-4dd2-b424-c5674a139134",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "acf06b85-b955-4ae2-b43a-d2acbd5bbf03",
      "Questions": [
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "acf06b85-b955-4ae2-b43a-d2acbd5bbf03",
      "Questions": [
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5c84a6f9-7744-4052-88ca-e5f832f065be",
      "ContentItemId": "a0465242-8307-4a33-b687-2068fbd1ddc9",
      "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-10-23T10:08:38.7456544+00:00",
      "RescheduleDate": "2026-10-23T10:08:38.7456544+00:00"
    },
    {
      "Id": "5c84a6f9-7744-4052-88ca-e5f832f065be",
      "ContentItemId": "a0465242-8307-4a33-b687-2068fbd1ddc9",
      "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-10-23T10:08:38.7456544+00:00",
      "RescheduleDate": "2026-10-23T10:08:38.7456544+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": "eb965c30-8277-4b48-8b8a-63e75b7b1294",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-23T10:08:38.8081578+00:00",
  "Registration": [
    {
      "Id": "f8def636-f834-43bb-8883-af659b28e459",
      "UserId": "ad9db2d0-4449-4d3a-917e-cbe90eff3de1",
      "IsCurrent": true,
      "CenterId": "4f514b42-f2b6-44ee-a758-502d226c07fb",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7cb4da1e-eb36-4686-b383-8574a56dcabf",
      "EndDate": "2026-10-23T10:08:38.7456544+00:00",
      "StartDate": "2026-10-23T10:08:38.7456544+00:00",
      "SchedulePreferenceDate": "2026-10-23T10:08:38.7456544+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": "f8def636-f834-43bb-8883-af659b28e459",
      "UserId": "ad9db2d0-4449-4d3a-917e-cbe90eff3de1",
      "IsCurrent": true,
      "CenterId": "4f514b42-f2b6-44ee-a758-502d226c07fb",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7cb4da1e-eb36-4686-b383-8574a56dcabf",
      "EndDate": "2026-10-23T10:08:38.7456544+00:00",
      "StartDate": "2026-10-23T10:08:38.7456544+00:00",
      "SchedulePreferenceDate": "2026-10-23T10:08:38.7456544+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-10-23T10:08:38.7456544+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a72cc44d-c25b-40ea-8c21-d0a0797e0d67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "15a71eaf-6170-4c59-be74-2faa8786ad81",
      "Sequence": 1,
      "AncestorCategoryId": "969d3d08-18fd-495c-9df0-f6ccd3ae7008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "a72cc44d-c25b-40ea-8c21-d0a0797e0d67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "15a71eaf-6170-4c59-be74-2faa8786ad81",
      "Sequence": 1,
      "AncestorCategoryId": "969d3d08-18fd-495c-9df0-f6ccd3ae7008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "f86f2094-6f7a-46d0-96c8-5ad156b20541",
          "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": "c55f2729-2c0e-403d-852b-dc8593f81050",
    "CategoryId": "98ab734c-0fb7-4e1a-94f1-082805c04841",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6e062050-902f-4dd2-b424-c5674a139134",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6e062050-902f-4dd2-b424-c5674a139134",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "acf06b85-b955-4ae2-b43a-d2acbd5bbf03",
      "Questions": [
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "acf06b85-b955-4ae2-b43a-d2acbd5bbf03",
      "Questions": [
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ea6b1b1-a89f-4dfb-9e57-268c9111c4cc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5c84a6f9-7744-4052-88ca-e5f832f065be",
      "ContentItemId": "a0465242-8307-4a33-b687-2068fbd1ddc9",
      "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-10-23T10:08:38.7456544+00:00",
      "RescheduleDate": "2026-10-23T10:08:38.7456544+00:00"
    },
    {
      "Id": "5c84a6f9-7744-4052-88ca-e5f832f065be",
      "ContentItemId": "a0465242-8307-4a33-b687-2068fbd1ddc9",
      "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-10-23T10:08:38.7456544+00:00",
      "RescheduleDate": "2026-10-23T10:08:38.7456544+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}