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": "436e602a-70d9-49f8-993b-d81dff6f69b0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-25T04:30:11.6306992+00:00",
  "Registration": [
    {
      "Id": "714b909e-88e3-497a-ad5e-2174da44616c",
      "UserId": "79a840fd-feef-4552-bb85-a97665ae69b8",
      "IsCurrent": true,
      "CenterId": "640f91b9-05bb-4f04-b5fb-e232cb47daf3",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "9333f1b0-fb10-4847-b47b-ce1d1e19f151",
      "EndDate": "2026-01-25T04:30:11.6306992+00:00",
      "StartDate": "2026-01-25T04:30:11.6306992+00:00",
      "SchedulePreferenceDate": "2026-01-25T04:30:11.6306992+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": "714b909e-88e3-497a-ad5e-2174da44616c",
      "UserId": "79a840fd-feef-4552-bb85-a97665ae69b8",
      "IsCurrent": true,
      "CenterId": "640f91b9-05bb-4f04-b5fb-e232cb47daf3",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "9333f1b0-fb10-4847-b47b-ce1d1e19f151",
      "EndDate": "2026-01-25T04:30:11.6306992+00:00",
      "StartDate": "2026-01-25T04:30:11.6306992+00:00",
      "SchedulePreferenceDate": "2026-01-25T04:30:11.6306992+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-01-25T04:30:11.6306992+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3c6b8ff2-f453-4469-8225-4492a733b826",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dd215fff-42f9-4c70-8618-59b6137e55cc",
      "Sequence": 1,
      "AncestorCategoryId": "346a15a1-4887-4b7c-977b-31b65e607590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "3c6b8ff2-f453-4469-8225-4492a733b826",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dd215fff-42f9-4c70-8618-59b6137e55cc",
      "Sequence": 1,
      "AncestorCategoryId": "346a15a1-4887-4b7c-977b-31b65e607590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "1469d13c-1e1d-4117-9c59-eb4caed49099",
    "CategoryId": "da573f53-881d-40c0-9c7d-bbc2f86703a8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f749f58b-1124-4955-9dc7-27b4aa394964",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f749f58b-1124-4955-9dc7-27b4aa394964",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b2bb4ee3-e197-40f6-aaa1-0a80f03029fe",
      "Questions": [
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        },
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b2bb4ee3-e197-40f6-aaa1-0a80f03029fe",
      "Questions": [
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        },
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2c42e809-caa7-4bb9-91fa-f4b0c2427310",
      "ContentItemId": "4c4b6da2-faa8-426b-8324-9cb1d0d329df",
      "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-01-25T04:30:11.6306992+00:00",
      "RescheduleDate": "2026-01-25T04:30:11.6306992+00:00"
    },
    {
      "Id": "2c42e809-caa7-4bb9-91fa-f4b0c2427310",
      "ContentItemId": "4c4b6da2-faa8-426b-8324-9cb1d0d329df",
      "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-01-25T04:30:11.6306992+00:00",
      "RescheduleDate": "2026-01-25T04:30:11.6306992+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": "436e602a-70d9-49f8-993b-d81dff6f69b0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-25T04:30:11.6775737+00:00",
  "Registration": [
    {
      "Id": "714b909e-88e3-497a-ad5e-2174da44616c",
      "UserId": "79a840fd-feef-4552-bb85-a97665ae69b8",
      "IsCurrent": true,
      "CenterId": "640f91b9-05bb-4f04-b5fb-e232cb47daf3",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "9333f1b0-fb10-4847-b47b-ce1d1e19f151",
      "EndDate": "2026-01-25T04:30:11.6306992+00:00",
      "StartDate": "2026-01-25T04:30:11.6306992+00:00",
      "SchedulePreferenceDate": "2026-01-25T04:30:11.6306992+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": "714b909e-88e3-497a-ad5e-2174da44616c",
      "UserId": "79a840fd-feef-4552-bb85-a97665ae69b8",
      "IsCurrent": true,
      "CenterId": "640f91b9-05bb-4f04-b5fb-e232cb47daf3",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "9333f1b0-fb10-4847-b47b-ce1d1e19f151",
      "EndDate": "2026-01-25T04:30:11.6306992+00:00",
      "StartDate": "2026-01-25T04:30:11.6306992+00:00",
      "SchedulePreferenceDate": "2026-01-25T04:30:11.6306992+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-01-25T04:30:11.6306992+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3c6b8ff2-f453-4469-8225-4492a733b826",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dd215fff-42f9-4c70-8618-59b6137e55cc",
      "Sequence": 1,
      "AncestorCategoryId": "346a15a1-4887-4b7c-977b-31b65e607590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "3c6b8ff2-f453-4469-8225-4492a733b826",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dd215fff-42f9-4c70-8618-59b6137e55cc",
      "Sequence": 1,
      "AncestorCategoryId": "346a15a1-4887-4b7c-977b-31b65e607590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "0c13e793-689e-446d-a68a-759786a08cad",
          "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": "1469d13c-1e1d-4117-9c59-eb4caed49099",
    "CategoryId": "da573f53-881d-40c0-9c7d-bbc2f86703a8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f749f58b-1124-4955-9dc7-27b4aa394964",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f749f58b-1124-4955-9dc7-27b4aa394964",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b2bb4ee3-e197-40f6-aaa1-0a80f03029fe",
      "Questions": [
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        },
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b2bb4ee3-e197-40f6-aaa1-0a80f03029fe",
      "Questions": [
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        },
        {
          "Id": "54b10878-0ef7-4d24-b34a-55fe6ee82ac0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2c42e809-caa7-4bb9-91fa-f4b0c2427310",
      "ContentItemId": "4c4b6da2-faa8-426b-8324-9cb1d0d329df",
      "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-01-25T04:30:11.6306992+00:00",
      "RescheduleDate": "2026-01-25T04:30:11.6306992+00:00"
    },
    {
      "Id": "2c42e809-caa7-4bb9-91fa-f4b0c2427310",
      "ContentItemId": "4c4b6da2-faa8-426b-8324-9cb1d0d329df",
      "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-01-25T04:30:11.6306992+00:00",
      "RescheduleDate": "2026-01-25T04:30:11.6306992+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}