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": "f8a44235-2ce0-4d31-9ae0-b25b9d7c3090",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-07T16:05:49.0337798+00:00",
  "Registration": [
    {
      "Id": "fcfe0b09-01b7-47e6-b302-6ba694421156",
      "UserId": "66dc6acb-c94c-45e4-bdbd-4b18486c614c",
      "IsCurrent": true,
      "CenterId": "b17f11c6-9826-4e0a-98a7-b9cfc0684153",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8fa43118-d7c7-4cbf-8917-000ea5b0f1b5",
      "EndDate": "2026-07-07T16:05:49.0337798+00:00",
      "StartDate": "2026-07-07T16:05:49.0337798+00:00",
      "SchedulePreferenceDate": "2026-07-07T16:05:49.0337798+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": "fcfe0b09-01b7-47e6-b302-6ba694421156",
      "UserId": "66dc6acb-c94c-45e4-bdbd-4b18486c614c",
      "IsCurrent": true,
      "CenterId": "b17f11c6-9826-4e0a-98a7-b9cfc0684153",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8fa43118-d7c7-4cbf-8917-000ea5b0f1b5",
      "EndDate": "2026-07-07T16:05:49.0337798+00:00",
      "StartDate": "2026-07-07T16:05:49.0337798+00:00",
      "SchedulePreferenceDate": "2026-07-07T16:05:49.0337798+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-07T16:05:49.0337798+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b700f285-c66c-4361-889b-51248c7263c0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd957182-5b02-43e7-b6de-0c8669764b85",
      "Sequence": 1,
      "AncestorCategoryId": "69ee8fb2-e196-49de-a29d-35bd80a778a0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "b700f285-c66c-4361-889b-51248c7263c0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd957182-5b02-43e7-b6de-0c8669764b85",
      "Sequence": 1,
      "AncestorCategoryId": "69ee8fb2-e196-49de-a29d-35bd80a778a0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "d5329ab7-ae06-40df-988c-8f1348d64dba",
    "CategoryId": "db7cca5f-08f5-49e7-911b-aab96ee9ba10",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "855b33d5-9dfb-409f-be98-ac715f647ffb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "855b33d5-9dfb-409f-be98-ac715f647ffb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cc6bcc63-b444-4c48-8216-8e7e8864d509",
      "Questions": [
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cc6bcc63-b444-4c48-8216-8e7e8864d509",
      "Questions": [
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f84bc23e-28b2-48eb-b7f3-6f4cd1ac058f",
      "ContentItemId": "627c36fb-a06e-41fc-bb4d-a22db3a44e89",
      "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-07T16:05:49.0337798+00:00",
      "RescheduleDate": "2026-07-07T16:05:49.0337798+00:00"
    },
    {
      "Id": "f84bc23e-28b2-48eb-b7f3-6f4cd1ac058f",
      "ContentItemId": "627c36fb-a06e-41fc-bb4d-a22db3a44e89",
      "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-07T16:05:49.0337798+00:00",
      "RescheduleDate": "2026-07-07T16:05:49.0337798+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": "f8a44235-2ce0-4d31-9ae0-b25b9d7c3090",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-07T16:05:49.080656+00:00",
  "Registration": [
    {
      "Id": "fcfe0b09-01b7-47e6-b302-6ba694421156",
      "UserId": "66dc6acb-c94c-45e4-bdbd-4b18486c614c",
      "IsCurrent": true,
      "CenterId": "b17f11c6-9826-4e0a-98a7-b9cfc0684153",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8fa43118-d7c7-4cbf-8917-000ea5b0f1b5",
      "EndDate": "2026-07-07T16:05:49.0337798+00:00",
      "StartDate": "2026-07-07T16:05:49.0337798+00:00",
      "SchedulePreferenceDate": "2026-07-07T16:05:49.0337798+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": "fcfe0b09-01b7-47e6-b302-6ba694421156",
      "UserId": "66dc6acb-c94c-45e4-bdbd-4b18486c614c",
      "IsCurrent": true,
      "CenterId": "b17f11c6-9826-4e0a-98a7-b9cfc0684153",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8fa43118-d7c7-4cbf-8917-000ea5b0f1b5",
      "EndDate": "2026-07-07T16:05:49.0337798+00:00",
      "StartDate": "2026-07-07T16:05:49.0337798+00:00",
      "SchedulePreferenceDate": "2026-07-07T16:05:49.0337798+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-07T16:05:49.0337798+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b700f285-c66c-4361-889b-51248c7263c0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd957182-5b02-43e7-b6de-0c8669764b85",
      "Sequence": 1,
      "AncestorCategoryId": "69ee8fb2-e196-49de-a29d-35bd80a778a0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "b700f285-c66c-4361-889b-51248c7263c0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd957182-5b02-43e7-b6de-0c8669764b85",
      "Sequence": 1,
      "AncestorCategoryId": "69ee8fb2-e196-49de-a29d-35bd80a778a0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "1cd0ef0b-0518-406b-882b-570a7b760ecb",
          "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": "d5329ab7-ae06-40df-988c-8f1348d64dba",
    "CategoryId": "db7cca5f-08f5-49e7-911b-aab96ee9ba10",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "855b33d5-9dfb-409f-be98-ac715f647ffb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "855b33d5-9dfb-409f-be98-ac715f647ffb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cc6bcc63-b444-4c48-8216-8e7e8864d509",
      "Questions": [
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cc6bcc63-b444-4c48-8216-8e7e8864d509",
      "Questions": [
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        },
        {
          "Id": "20299ad8-2bdf-42c1-b5ca-8ce85d5c9d82",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f84bc23e-28b2-48eb-b7f3-6f4cd1ac058f",
      "ContentItemId": "627c36fb-a06e-41fc-bb4d-a22db3a44e89",
      "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-07T16:05:49.0337798+00:00",
      "RescheduleDate": "2026-07-07T16:05:49.0337798+00:00"
    },
    {
      "Id": "f84bc23e-28b2-48eb-b7f3-6f4cd1ac058f",
      "ContentItemId": "627c36fb-a06e-41fc-bb4d-a22db3a44e89",
      "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-07T16:05:49.0337798+00:00",
      "RescheduleDate": "2026-07-07T16:05:49.0337798+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}