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": "599d20f6-2d01-4baf-9879-b921d3f66701",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-06T17:57:06.7012372+00:00",
  "Registration": [
    {
      "Id": "98052efe-0fe2-4f97-916a-12c2d906c65e",
      "UserId": "dba7e199-bb09-4713-910b-e9240d2d591f",
      "IsCurrent": true,
      "CenterId": "5bb78de7-3a1e-4ab6-b395-98e820acdfb9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4dd31117-99e6-4ae3-913d-867c274ee7dd",
      "EndDate": "2026-12-06T17:57:06.7012372+00:00",
      "StartDate": "2026-12-06T17:57:06.7012372+00:00",
      "SchedulePreferenceDate": "2026-12-06T17:57:06.7012372+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": "98052efe-0fe2-4f97-916a-12c2d906c65e",
      "UserId": "dba7e199-bb09-4713-910b-e9240d2d591f",
      "IsCurrent": true,
      "CenterId": "5bb78de7-3a1e-4ab6-b395-98e820acdfb9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4dd31117-99e6-4ae3-913d-867c274ee7dd",
      "EndDate": "2026-12-06T17:57:06.7012372+00:00",
      "StartDate": "2026-12-06T17:57:06.7012372+00:00",
      "SchedulePreferenceDate": "2026-12-06T17:57:06.7012372+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-12-06T17:57:06.7012372+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "67b66749-e0b4-4c5d-9a9b-dfb277a6ab4d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a0fa97ca-d375-4036-a93a-174ae378a9a9",
      "Sequence": 1,
      "AncestorCategoryId": "1fa7af64-8e4e-4470-b37e-d265bfc1a6f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "67b66749-e0b4-4c5d-9a9b-dfb277a6ab4d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a0fa97ca-d375-4036-a93a-174ae378a9a9",
      "Sequence": 1,
      "AncestorCategoryId": "1fa7af64-8e4e-4470-b37e-d265bfc1a6f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "c4418955-f046-4ebe-a6be-99b93ca85f6a",
    "CategoryId": "3cb6f18f-5620-4d38-a421-aa7da137c4e0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "afd589d6-9b4d-4a75-8b23-0b117ec4c0ee",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "afd589d6-9b4d-4a75-8b23-0b117ec4c0ee",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "222557fe-a9fb-489c-976a-31b09544b38f",
      "Questions": [
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "222557fe-a9fb-489c-976a-31b09544b38f",
      "Questions": [
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "47dc1104-4d07-4405-b65c-55750e448c9b",
      "ContentItemId": "16931884-7dc7-44d4-af68-e6c58b9f50e2",
      "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-12-06T17:57:06.7012372+00:00",
      "RescheduleDate": "2026-12-06T17:57:06.7012372+00:00"
    },
    {
      "Id": "47dc1104-4d07-4405-b65c-55750e448c9b",
      "ContentItemId": "16931884-7dc7-44d4-af68-e6c58b9f50e2",
      "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-12-06T17:57:06.7012372+00:00",
      "RescheduleDate": "2026-12-06T17:57:06.7012372+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": "599d20f6-2d01-4baf-9879-b921d3f66701",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-06T17:57:06.7637414+00:00",
  "Registration": [
    {
      "Id": "98052efe-0fe2-4f97-916a-12c2d906c65e",
      "UserId": "dba7e199-bb09-4713-910b-e9240d2d591f",
      "IsCurrent": true,
      "CenterId": "5bb78de7-3a1e-4ab6-b395-98e820acdfb9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4dd31117-99e6-4ae3-913d-867c274ee7dd",
      "EndDate": "2026-12-06T17:57:06.7012372+00:00",
      "StartDate": "2026-12-06T17:57:06.7012372+00:00",
      "SchedulePreferenceDate": "2026-12-06T17:57:06.7012372+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": "98052efe-0fe2-4f97-916a-12c2d906c65e",
      "UserId": "dba7e199-bb09-4713-910b-e9240d2d591f",
      "IsCurrent": true,
      "CenterId": "5bb78de7-3a1e-4ab6-b395-98e820acdfb9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4dd31117-99e6-4ae3-913d-867c274ee7dd",
      "EndDate": "2026-12-06T17:57:06.7012372+00:00",
      "StartDate": "2026-12-06T17:57:06.7012372+00:00",
      "SchedulePreferenceDate": "2026-12-06T17:57:06.7012372+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-12-06T17:57:06.7012372+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "67b66749-e0b4-4c5d-9a9b-dfb277a6ab4d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a0fa97ca-d375-4036-a93a-174ae378a9a9",
      "Sequence": 1,
      "AncestorCategoryId": "1fa7af64-8e4e-4470-b37e-d265bfc1a6f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "67b66749-e0b4-4c5d-9a9b-dfb277a6ab4d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a0fa97ca-d375-4036-a93a-174ae378a9a9",
      "Sequence": 1,
      "AncestorCategoryId": "1fa7af64-8e4e-4470-b37e-d265bfc1a6f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "180ba87c-a5d4-46ff-ae9d-a542465b89d6",
          "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": "c4418955-f046-4ebe-a6be-99b93ca85f6a",
    "CategoryId": "3cb6f18f-5620-4d38-a421-aa7da137c4e0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "afd589d6-9b4d-4a75-8b23-0b117ec4c0ee",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "afd589d6-9b4d-4a75-8b23-0b117ec4c0ee",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "222557fe-a9fb-489c-976a-31b09544b38f",
      "Questions": [
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "222557fe-a9fb-489c-976a-31b09544b38f",
      "Questions": [
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5755512-13f7-41bd-a651-ae999218a7fd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "47dc1104-4d07-4405-b65c-55750e448c9b",
      "ContentItemId": "16931884-7dc7-44d4-af68-e6c58b9f50e2",
      "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-12-06T17:57:06.7012372+00:00",
      "RescheduleDate": "2026-12-06T17:57:06.7012372+00:00"
    },
    {
      "Id": "47dc1104-4d07-4405-b65c-55750e448c9b",
      "ContentItemId": "16931884-7dc7-44d4-af68-e6c58b9f50e2",
      "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-12-06T17:57:06.7012372+00:00",
      "RescheduleDate": "2026-12-06T17:57:06.7012372+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}