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": "d8e45021-aea5-4555-add7-1833959329b3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-22T08:20:08.7109011+00:00",
  "Registration": [
    {
      "Id": "bdc84047-bb9e-4aa2-959d-ffeb66d0ad28",
      "UserId": "5d246465-96eb-43d1-9724-df5a0a96e1ab",
      "IsCurrent": true,
      "CenterId": "7ce40e21-fe27-44e8-9aae-423b8bdf7b23",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4e830de1-75d5-4aeb-b411-049838e54f63",
      "EndDate": "2025-11-22T08:20:08.7109011+00:00",
      "StartDate": "2025-11-22T08:20:08.7109011+00:00",
      "SchedulePreferenceDate": "2025-11-22T08:20:08.7109011+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": "bdc84047-bb9e-4aa2-959d-ffeb66d0ad28",
      "UserId": "5d246465-96eb-43d1-9724-df5a0a96e1ab",
      "IsCurrent": true,
      "CenterId": "7ce40e21-fe27-44e8-9aae-423b8bdf7b23",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4e830de1-75d5-4aeb-b411-049838e54f63",
      "EndDate": "2025-11-22T08:20:08.7109011+00:00",
      "StartDate": "2025-11-22T08:20:08.7109011+00:00",
      "SchedulePreferenceDate": "2025-11-22T08:20:08.7109011+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": "2025-11-22T08:20:08.7109011+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e21dc29e-a6a4-42b2-8234-ad87c8a94380",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b5700a16-65a8-445f-93e8-337594eddc82",
      "Sequence": 1,
      "AncestorCategoryId": "5fc8e84d-8080-444f-b9f2-c37850213b19",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "e21dc29e-a6a4-42b2-8234-ad87c8a94380",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b5700a16-65a8-445f-93e8-337594eddc82",
      "Sequence": 1,
      "AncestorCategoryId": "5fc8e84d-8080-444f-b9f2-c37850213b19",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "63ecb531-129a-47ba-93d2-a8a1409fafc0",
    "CategoryId": "24c2ecd3-2b72-47fe-b782-baa50d27df53",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e4ea9c72-c036-4546-a8df-3fdea04f126f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e4ea9c72-c036-4546-a8df-3fdea04f126f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eeec586e-0c6c-4077-bb56-44aaf7667025",
      "Questions": [
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eeec586e-0c6c-4077-bb56-44aaf7667025",
      "Questions": [
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0926462d-dbd5-4a85-b5e6-1666f50cb5aa",
      "ContentItemId": "80d0d4e2-4a76-4d51-b31d-56ed354e8a57",
      "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": "2025-11-22T08:20:08.7109011+00:00",
      "RescheduleDate": "2025-11-22T08:20:08.7109011+00:00"
    },
    {
      "Id": "0926462d-dbd5-4a85-b5e6-1666f50cb5aa",
      "ContentItemId": "80d0d4e2-4a76-4d51-b31d-56ed354e8a57",
      "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": "2025-11-22T08:20:08.7109011+00:00",
      "RescheduleDate": "2025-11-22T08:20:08.7109011+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": "d8e45021-aea5-4555-add7-1833959329b3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-22T08:20:08.7421499+00:00",
  "Registration": [
    {
      "Id": "bdc84047-bb9e-4aa2-959d-ffeb66d0ad28",
      "UserId": "5d246465-96eb-43d1-9724-df5a0a96e1ab",
      "IsCurrent": true,
      "CenterId": "7ce40e21-fe27-44e8-9aae-423b8bdf7b23",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4e830de1-75d5-4aeb-b411-049838e54f63",
      "EndDate": "2025-11-22T08:20:08.7109011+00:00",
      "StartDate": "2025-11-22T08:20:08.7109011+00:00",
      "SchedulePreferenceDate": "2025-11-22T08:20:08.7109011+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": "bdc84047-bb9e-4aa2-959d-ffeb66d0ad28",
      "UserId": "5d246465-96eb-43d1-9724-df5a0a96e1ab",
      "IsCurrent": true,
      "CenterId": "7ce40e21-fe27-44e8-9aae-423b8bdf7b23",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4e830de1-75d5-4aeb-b411-049838e54f63",
      "EndDate": "2025-11-22T08:20:08.7109011+00:00",
      "StartDate": "2025-11-22T08:20:08.7109011+00:00",
      "SchedulePreferenceDate": "2025-11-22T08:20:08.7109011+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": "2025-11-22T08:20:08.7109011+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e21dc29e-a6a4-42b2-8234-ad87c8a94380",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b5700a16-65a8-445f-93e8-337594eddc82",
      "Sequence": 1,
      "AncestorCategoryId": "5fc8e84d-8080-444f-b9f2-c37850213b19",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "e21dc29e-a6a4-42b2-8234-ad87c8a94380",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b5700a16-65a8-445f-93e8-337594eddc82",
      "Sequence": 1,
      "AncestorCategoryId": "5fc8e84d-8080-444f-b9f2-c37850213b19",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "49218b16-761d-407d-ad42-ce7a75800316",
          "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": "63ecb531-129a-47ba-93d2-a8a1409fafc0",
    "CategoryId": "24c2ecd3-2b72-47fe-b782-baa50d27df53",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e4ea9c72-c036-4546-a8df-3fdea04f126f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e4ea9c72-c036-4546-a8df-3fdea04f126f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eeec586e-0c6c-4077-bb56-44aaf7667025",
      "Questions": [
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eeec586e-0c6c-4077-bb56-44aaf7667025",
      "Questions": [
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "79cf960c-481a-4daa-ba67-867f96b6ff2a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0926462d-dbd5-4a85-b5e6-1666f50cb5aa",
      "ContentItemId": "80d0d4e2-4a76-4d51-b31d-56ed354e8a57",
      "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": "2025-11-22T08:20:08.7109011+00:00",
      "RescheduleDate": "2025-11-22T08:20:08.7109011+00:00"
    },
    {
      "Id": "0926462d-dbd5-4a85-b5e6-1666f50cb5aa",
      "ContentItemId": "80d0d4e2-4a76-4d51-b31d-56ed354e8a57",
      "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": "2025-11-22T08:20:08.7109011+00:00",
      "RescheduleDate": "2025-11-22T08:20:08.7109011+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}