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": "e5ac1719-ed66-4a27-9eaa-4e14d76d13a6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-08T13:11:10.6706393+00:00",
  "Registration": [
    {
      "Id": "3faaf81b-668f-41eb-b214-8973bd5c9a14",
      "UserId": "2bb2167b-ebdd-4256-9fb6-c0446fd5a9c7",
      "IsCurrent": true,
      "CenterId": "831397ea-60e5-49a6-a067-d26a830dd086",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4be5a9b1-e894-459b-9c77-d14182adf75b",
      "EndDate": "2026-02-08T13:11:10.6550906+00:00",
      "StartDate": "2026-02-08T13:11:10.6550906+00:00",
      "SchedulePreferenceDate": "2026-02-08T13:11:10.6550906+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": "3faaf81b-668f-41eb-b214-8973bd5c9a14",
      "UserId": "2bb2167b-ebdd-4256-9fb6-c0446fd5a9c7",
      "IsCurrent": true,
      "CenterId": "831397ea-60e5-49a6-a067-d26a830dd086",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4be5a9b1-e894-459b-9c77-d14182adf75b",
      "EndDate": "2026-02-08T13:11:10.6550906+00:00",
      "StartDate": "2026-02-08T13:11:10.6550906+00:00",
      "SchedulePreferenceDate": "2026-02-08T13:11:10.6550906+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-02-08T13:11:10.6550906+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8fee5424-6788-4e5d-acc8-380ba4a1fe67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a6ac6bb7-5fbf-4e9d-85ae-984dbb121325",
      "Sequence": 1,
      "AncestorCategoryId": "39522729-823e-4f4b-9afd-42c2942d4f63",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "8fee5424-6788-4e5d-acc8-380ba4a1fe67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a6ac6bb7-5fbf-4e9d-85ae-984dbb121325",
      "Sequence": 1,
      "AncestorCategoryId": "39522729-823e-4f4b-9afd-42c2942d4f63",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "d37c9ce6-a8de-42ea-a4bf-a25213079bf0",
    "CategoryId": "c05ff2a7-cd52-4906-8d28-ebb8466ff321",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b2a36285-582e-49d4-9ab5-fc171b73d444",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b2a36285-582e-49d4-9ab5-fc171b73d444",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eb0212e9-d92e-4223-94aa-4ee2581d03b9",
      "Questions": [
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        },
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eb0212e9-d92e-4223-94aa-4ee2581d03b9",
      "Questions": [
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        },
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "61b7b9e5-adf0-47ba-9260-9646982203ea",
      "ContentItemId": "55e973a2-5533-4f8c-b9f8-99c8e950bec7",
      "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-02-08T13:11:10.6550906+00:00",
      "RescheduleDate": "2026-02-08T13:11:10.6550906+00:00"
    },
    {
      "Id": "61b7b9e5-adf0-47ba-9260-9646982203ea",
      "ContentItemId": "55e973a2-5533-4f8c-b9f8-99c8e950bec7",
      "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-02-08T13:11:10.6550906+00:00",
      "RescheduleDate": "2026-02-08T13:11:10.6550906+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": "e5ac1719-ed66-4a27-9eaa-4e14d76d13a6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-08T13:11:10.7018899+00:00",
  "Registration": [
    {
      "Id": "3faaf81b-668f-41eb-b214-8973bd5c9a14",
      "UserId": "2bb2167b-ebdd-4256-9fb6-c0446fd5a9c7",
      "IsCurrent": true,
      "CenterId": "831397ea-60e5-49a6-a067-d26a830dd086",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4be5a9b1-e894-459b-9c77-d14182adf75b",
      "EndDate": "2026-02-08T13:11:10.6550906+00:00",
      "StartDate": "2026-02-08T13:11:10.6550906+00:00",
      "SchedulePreferenceDate": "2026-02-08T13:11:10.6550906+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": "3faaf81b-668f-41eb-b214-8973bd5c9a14",
      "UserId": "2bb2167b-ebdd-4256-9fb6-c0446fd5a9c7",
      "IsCurrent": true,
      "CenterId": "831397ea-60e5-49a6-a067-d26a830dd086",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "4be5a9b1-e894-459b-9c77-d14182adf75b",
      "EndDate": "2026-02-08T13:11:10.6550906+00:00",
      "StartDate": "2026-02-08T13:11:10.6550906+00:00",
      "SchedulePreferenceDate": "2026-02-08T13:11:10.6550906+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-02-08T13:11:10.6550906+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8fee5424-6788-4e5d-acc8-380ba4a1fe67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a6ac6bb7-5fbf-4e9d-85ae-984dbb121325",
      "Sequence": 1,
      "AncestorCategoryId": "39522729-823e-4f4b-9afd-42c2942d4f63",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "8fee5424-6788-4e5d-acc8-380ba4a1fe67",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a6ac6bb7-5fbf-4e9d-85ae-984dbb121325",
      "Sequence": 1,
      "AncestorCategoryId": "39522729-823e-4f4b-9afd-42c2942d4f63",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "cbe87762-d678-4496-a5a2-a241232ad92e",
          "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": "d37c9ce6-a8de-42ea-a4bf-a25213079bf0",
    "CategoryId": "c05ff2a7-cd52-4906-8d28-ebb8466ff321",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b2a36285-582e-49d4-9ab5-fc171b73d444",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b2a36285-582e-49d4-9ab5-fc171b73d444",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eb0212e9-d92e-4223-94aa-4ee2581d03b9",
      "Questions": [
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        },
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eb0212e9-d92e-4223-94aa-4ee2581d03b9",
      "Questions": [
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        },
        {
          "Id": "065018d6-9812-4745-b327-23f999688358",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "61b7b9e5-adf0-47ba-9260-9646982203ea",
      "ContentItemId": "55e973a2-5533-4f8c-b9f8-99c8e950bec7",
      "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-02-08T13:11:10.6550906+00:00",
      "RescheduleDate": "2026-02-08T13:11:10.6550906+00:00"
    },
    {
      "Id": "61b7b9e5-adf0-47ba-9260-9646982203ea",
      "ContentItemId": "55e973a2-5533-4f8c-b9f8-99c8e950bec7",
      "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-02-08T13:11:10.6550906+00:00",
      "RescheduleDate": "2026-02-08T13:11:10.6550906+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}