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": "c2ac7191-6bb0-4fed-91e3-30bd66ce125f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-28T09:44:23.1455759+00:00",
  "Registration": [
    {
      "Id": "8338e0ea-718f-4e81-b4ad-a4aa5d15d4f8",
      "UserId": "7e56fb29-d838-431c-9539-c4669c9fb217",
      "IsCurrent": true,
      "CenterId": "0c0de846-73a9-47fd-a46a-f25b0bf8af32",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "009935c3-c64d-4652-bf3e-607be4c98db1",
      "EndDate": "2026-07-28T09:44:23.1299523+00:00",
      "StartDate": "2026-07-28T09:44:23.1299523+00:00",
      "SchedulePreferenceDate": "2026-07-28T09:44:23.1299523+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": "8338e0ea-718f-4e81-b4ad-a4aa5d15d4f8",
      "UserId": "7e56fb29-d838-431c-9539-c4669c9fb217",
      "IsCurrent": true,
      "CenterId": "0c0de846-73a9-47fd-a46a-f25b0bf8af32",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "009935c3-c64d-4652-bf3e-607be4c98db1",
      "EndDate": "2026-07-28T09:44:23.1299523+00:00",
      "StartDate": "2026-07-28T09:44:23.1299523+00:00",
      "SchedulePreferenceDate": "2026-07-28T09:44:23.1299523+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-28T09:44:23.1299523+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "83fcf41b-7e57-468f-97ad-e604961549a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5838fa25-3975-49a1-b001-ce2e4c5c409a",
      "Sequence": 1,
      "AncestorCategoryId": "eb29297e-05c0-4d50-b776-6309b8f0d58b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "83fcf41b-7e57-468f-97ad-e604961549a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5838fa25-3975-49a1-b001-ce2e4c5c409a",
      "Sequence": 1,
      "AncestorCategoryId": "eb29297e-05c0-4d50-b776-6309b8f0d58b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "29c81223-cc7e-48d3-8d9d-879e187c6710",
    "CategoryId": "95844638-c45c-42f0-bd92-3ef49f2db8d0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "61e12e74-3345-488d-87ae-5916c97c75eb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "61e12e74-3345-488d-87ae-5916c97c75eb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8dbff3a2-19ff-406e-abc2-e099a24028f4",
      "Questions": [
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        },
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8dbff3a2-19ff-406e-abc2-e099a24028f4",
      "Questions": [
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        },
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "75664f25-e335-4d87-acf6-ab0155fb828c",
      "ContentItemId": "befc912d-fe1e-4aae-9a54-9735ce17846d",
      "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-28T09:44:23.1299523+00:00",
      "RescheduleDate": "2026-07-28T09:44:23.1299523+00:00"
    },
    {
      "Id": "75664f25-e335-4d87-acf6-ab0155fb828c",
      "ContentItemId": "befc912d-fe1e-4aae-9a54-9735ce17846d",
      "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-28T09:44:23.1299523+00:00",
      "RescheduleDate": "2026-07-28T09:44:23.1299523+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": "c2ac7191-6bb0-4fed-91e3-30bd66ce125f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-28T09:44:23.1924524+00:00",
  "Registration": [
    {
      "Id": "8338e0ea-718f-4e81-b4ad-a4aa5d15d4f8",
      "UserId": "7e56fb29-d838-431c-9539-c4669c9fb217",
      "IsCurrent": true,
      "CenterId": "0c0de846-73a9-47fd-a46a-f25b0bf8af32",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "009935c3-c64d-4652-bf3e-607be4c98db1",
      "EndDate": "2026-07-28T09:44:23.1299523+00:00",
      "StartDate": "2026-07-28T09:44:23.1299523+00:00",
      "SchedulePreferenceDate": "2026-07-28T09:44:23.1299523+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": "8338e0ea-718f-4e81-b4ad-a4aa5d15d4f8",
      "UserId": "7e56fb29-d838-431c-9539-c4669c9fb217",
      "IsCurrent": true,
      "CenterId": "0c0de846-73a9-47fd-a46a-f25b0bf8af32",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "009935c3-c64d-4652-bf3e-607be4c98db1",
      "EndDate": "2026-07-28T09:44:23.1299523+00:00",
      "StartDate": "2026-07-28T09:44:23.1299523+00:00",
      "SchedulePreferenceDate": "2026-07-28T09:44:23.1299523+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-28T09:44:23.1299523+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "83fcf41b-7e57-468f-97ad-e604961549a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5838fa25-3975-49a1-b001-ce2e4c5c409a",
      "Sequence": 1,
      "AncestorCategoryId": "eb29297e-05c0-4d50-b776-6309b8f0d58b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "83fcf41b-7e57-468f-97ad-e604961549a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5838fa25-3975-49a1-b001-ce2e4c5c409a",
      "Sequence": 1,
      "AncestorCategoryId": "eb29297e-05c0-4d50-b776-6309b8f0d58b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "35dd99af-9278-4bb1-b5b4-94f5e27c94d3",
          "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": "29c81223-cc7e-48d3-8d9d-879e187c6710",
    "CategoryId": "95844638-c45c-42f0-bd92-3ef49f2db8d0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "61e12e74-3345-488d-87ae-5916c97c75eb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "61e12e74-3345-488d-87ae-5916c97c75eb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8dbff3a2-19ff-406e-abc2-e099a24028f4",
      "Questions": [
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        },
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8dbff3a2-19ff-406e-abc2-e099a24028f4",
      "Questions": [
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        },
        {
          "Id": "56f60b02-09e6-44e9-beb6-b9c6ba5265c0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "75664f25-e335-4d87-acf6-ab0155fb828c",
      "ContentItemId": "befc912d-fe1e-4aae-9a54-9735ce17846d",
      "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-28T09:44:23.1299523+00:00",
      "RescheduleDate": "2026-07-28T09:44:23.1299523+00:00"
    },
    {
      "Id": "75664f25-e335-4d87-acf6-ab0155fb828c",
      "ContentItemId": "befc912d-fe1e-4aae-9a54-9735ce17846d",
      "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-28T09:44:23.1299523+00:00",
      "RescheduleDate": "2026-07-28T09:44:23.1299523+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}