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": "40b114ba-4cf6-4ef1-b61f-298ed72c8874",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-12T20:47:55.4024226+00:00",
  "Registration": [
    {
      "Id": "a096126c-b3ba-43bf-8b0f-3a7cdbedc6b0",
      "UserId": "b319dcbb-1820-4d4f-bc35-06a48818322c",
      "IsCurrent": true,
      "CenterId": "b6483044-3d7c-4297-820f-c2fc9537cc88",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2450829c-7be4-405d-97d8-0cf26d939e8a",
      "EndDate": "2025-12-12T20:47:55.4024226+00:00",
      "StartDate": "2025-12-12T20:47:55.4024226+00:00",
      "SchedulePreferenceDate": "2025-12-12T20:47:55.4024226+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": "a096126c-b3ba-43bf-8b0f-3a7cdbedc6b0",
      "UserId": "b319dcbb-1820-4d4f-bc35-06a48818322c",
      "IsCurrent": true,
      "CenterId": "b6483044-3d7c-4297-820f-c2fc9537cc88",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2450829c-7be4-405d-97d8-0cf26d939e8a",
      "EndDate": "2025-12-12T20:47:55.4024226+00:00",
      "StartDate": "2025-12-12T20:47:55.4024226+00:00",
      "SchedulePreferenceDate": "2025-12-12T20:47:55.4024226+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-12-12T20:47:55.4024226+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e7e417c2-1974-4bf0-8ea1-c8048728dec6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eaacfea7-f811-452f-a9f2-2df28158a6ed",
      "Sequence": 1,
      "AncestorCategoryId": "4d88b5f6-42f0-4331-8bb9-3ab115f13b36",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11335ac5-026f-451f-b435-be050110010e",
          "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": "11335ac5-026f-451f-b435-be050110010e",
          "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": "e7e417c2-1974-4bf0-8ea1-c8048728dec6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eaacfea7-f811-452f-a9f2-2df28158a6ed",
      "Sequence": 1,
      "AncestorCategoryId": "4d88b5f6-42f0-4331-8bb9-3ab115f13b36",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11335ac5-026f-451f-b435-be050110010e",
          "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": "11335ac5-026f-451f-b435-be050110010e",
          "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": "5e3200c5-8f93-46aa-97ce-e0df59bed213",
    "CategoryId": "004d7e96-4ec6-453f-b60b-08b73f4279f9",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7c9a11de-59ee-4af5-8237-bd4f7636a7dc",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7c9a11de-59ee-4af5-8237-bd4f7636a7dc",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a260ba9c-b9d9-4f0f-a247-8c94c1214abb",
      "Questions": [
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        },
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a260ba9c-b9d9-4f0f-a247-8c94c1214abb",
      "Questions": [
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        },
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a365653d-bacf-4abe-b0fc-9e4aa9b8826f",
      "ContentItemId": "eea83aa9-7d89-45e1-88fd-1fd0cb6d77b0",
      "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-12-12T20:47:55.4024226+00:00",
      "RescheduleDate": "2025-12-12T20:47:55.4024226+00:00"
    },
    {
      "Id": "a365653d-bacf-4abe-b0fc-9e4aa9b8826f",
      "ContentItemId": "eea83aa9-7d89-45e1-88fd-1fd0cb6d77b0",
      "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-12-12T20:47:55.4024226+00:00",
      "RescheduleDate": "2025-12-12T20:47:55.4024226+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": "40b114ba-4cf6-4ef1-b61f-298ed72c8874",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-12T20:47:55.4493203+00:00",
  "Registration": [
    {
      "Id": "a096126c-b3ba-43bf-8b0f-3a7cdbedc6b0",
      "UserId": "b319dcbb-1820-4d4f-bc35-06a48818322c",
      "IsCurrent": true,
      "CenterId": "b6483044-3d7c-4297-820f-c2fc9537cc88",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2450829c-7be4-405d-97d8-0cf26d939e8a",
      "EndDate": "2025-12-12T20:47:55.4024226+00:00",
      "StartDate": "2025-12-12T20:47:55.4024226+00:00",
      "SchedulePreferenceDate": "2025-12-12T20:47:55.4024226+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": "a096126c-b3ba-43bf-8b0f-3a7cdbedc6b0",
      "UserId": "b319dcbb-1820-4d4f-bc35-06a48818322c",
      "IsCurrent": true,
      "CenterId": "b6483044-3d7c-4297-820f-c2fc9537cc88",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2450829c-7be4-405d-97d8-0cf26d939e8a",
      "EndDate": "2025-12-12T20:47:55.4024226+00:00",
      "StartDate": "2025-12-12T20:47:55.4024226+00:00",
      "SchedulePreferenceDate": "2025-12-12T20:47:55.4024226+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-12-12T20:47:55.4024226+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e7e417c2-1974-4bf0-8ea1-c8048728dec6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eaacfea7-f811-452f-a9f2-2df28158a6ed",
      "Sequence": 1,
      "AncestorCategoryId": "4d88b5f6-42f0-4331-8bb9-3ab115f13b36",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11335ac5-026f-451f-b435-be050110010e",
          "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": "11335ac5-026f-451f-b435-be050110010e",
          "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": "e7e417c2-1974-4bf0-8ea1-c8048728dec6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eaacfea7-f811-452f-a9f2-2df28158a6ed",
      "Sequence": 1,
      "AncestorCategoryId": "4d88b5f6-42f0-4331-8bb9-3ab115f13b36",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11335ac5-026f-451f-b435-be050110010e",
          "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": "11335ac5-026f-451f-b435-be050110010e",
          "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": "5e3200c5-8f93-46aa-97ce-e0df59bed213",
    "CategoryId": "004d7e96-4ec6-453f-b60b-08b73f4279f9",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7c9a11de-59ee-4af5-8237-bd4f7636a7dc",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7c9a11de-59ee-4af5-8237-bd4f7636a7dc",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a260ba9c-b9d9-4f0f-a247-8c94c1214abb",
      "Questions": [
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        },
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a260ba9c-b9d9-4f0f-a247-8c94c1214abb",
      "Questions": [
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        },
        {
          "Id": "635f2ae4-71d8-4d85-a108-6ad374a3ce5b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a365653d-bacf-4abe-b0fc-9e4aa9b8826f",
      "ContentItemId": "eea83aa9-7d89-45e1-88fd-1fd0cb6d77b0",
      "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-12-12T20:47:55.4024226+00:00",
      "RescheduleDate": "2025-12-12T20:47:55.4024226+00:00"
    },
    {
      "Id": "a365653d-bacf-4abe-b0fc-9e4aa9b8826f",
      "ContentItemId": "eea83aa9-7d89-45e1-88fd-1fd0cb6d77b0",
      "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-12-12T20:47:55.4024226+00:00",
      "RescheduleDate": "2025-12-12T20:47:55.4024226+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}