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": "53cc9abc-9316-4ade-80d4-350cd340a05f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-09T23:10:43.7026252+00:00",
  "Registration": [
    {
      "Id": "3e8db030-288f-495d-ae42-5ac2087cb5c6",
      "UserId": "84eb9b7f-a352-4a6b-821b-d76f99fd70ab",
      "IsCurrent": true,
      "CenterId": "fab6f9e8-e297-4fa5-a40b-6553148b520c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "98dbd491-2d11-45c3-a8f8-4595e8f3088c",
      "EndDate": "2026-07-09T23:10:43.6870015+00:00",
      "StartDate": "2026-07-09T23:10:43.6870015+00:00",
      "SchedulePreferenceDate": "2026-07-09T23:10:43.6870015+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": "3e8db030-288f-495d-ae42-5ac2087cb5c6",
      "UserId": "84eb9b7f-a352-4a6b-821b-d76f99fd70ab",
      "IsCurrent": true,
      "CenterId": "fab6f9e8-e297-4fa5-a40b-6553148b520c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "98dbd491-2d11-45c3-a8f8-4595e8f3088c",
      "EndDate": "2026-07-09T23:10:43.6870015+00:00",
      "StartDate": "2026-07-09T23:10:43.6870015+00:00",
      "SchedulePreferenceDate": "2026-07-09T23:10:43.6870015+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-09T23:10:43.6870015+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f3c471c3-c21d-4552-b36d-23999be9776b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7cfd2cc8-3e48-4225-a7f3-c0a30da87bb3",
      "Sequence": 1,
      "AncestorCategoryId": "c850e076-a1d5-493b-9c00-07ce6e43081d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "f3c471c3-c21d-4552-b36d-23999be9776b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7cfd2cc8-3e48-4225-a7f3-c0a30da87bb3",
      "Sequence": 1,
      "AncestorCategoryId": "c850e076-a1d5-493b-9c00-07ce6e43081d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "74e3e2c7-b052-42dd-b237-9afccf543b26",
    "CategoryId": "065c323c-565b-4c65-89ad-440bda1b57ea",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8835e3cd-71bd-4c06-bcbe-403e22426472",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8835e3cd-71bd-4c06-bcbe-403e22426472",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1b2d2cf2-b4fc-484b-9cf0-cf1b46316ae9",
      "Questions": [
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        },
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1b2d2cf2-b4fc-484b-9cf0-cf1b46316ae9",
      "Questions": [
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        },
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fbbd3685-927e-4189-ac75-47a9160627fe",
      "ContentItemId": "2c658ce8-9902-4d94-9c65-146dd1f75a81",
      "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-09T23:10:43.6870015+00:00",
      "RescheduleDate": "2026-07-09T23:10:43.6870015+00:00"
    },
    {
      "Id": "fbbd3685-927e-4189-ac75-47a9160627fe",
      "ContentItemId": "2c658ce8-9902-4d94-9c65-146dd1f75a81",
      "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-09T23:10:43.6870015+00:00",
      "RescheduleDate": "2026-07-09T23:10:43.6870015+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": "53cc9abc-9316-4ade-80d4-350cd340a05f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-09T23:10:43.7338754+00:00",
  "Registration": [
    {
      "Id": "3e8db030-288f-495d-ae42-5ac2087cb5c6",
      "UserId": "84eb9b7f-a352-4a6b-821b-d76f99fd70ab",
      "IsCurrent": true,
      "CenterId": "fab6f9e8-e297-4fa5-a40b-6553148b520c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "98dbd491-2d11-45c3-a8f8-4595e8f3088c",
      "EndDate": "2026-07-09T23:10:43.6870015+00:00",
      "StartDate": "2026-07-09T23:10:43.6870015+00:00",
      "SchedulePreferenceDate": "2026-07-09T23:10:43.6870015+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": "3e8db030-288f-495d-ae42-5ac2087cb5c6",
      "UserId": "84eb9b7f-a352-4a6b-821b-d76f99fd70ab",
      "IsCurrent": true,
      "CenterId": "fab6f9e8-e297-4fa5-a40b-6553148b520c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "98dbd491-2d11-45c3-a8f8-4595e8f3088c",
      "EndDate": "2026-07-09T23:10:43.6870015+00:00",
      "StartDate": "2026-07-09T23:10:43.6870015+00:00",
      "SchedulePreferenceDate": "2026-07-09T23:10:43.6870015+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-09T23:10:43.6870015+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f3c471c3-c21d-4552-b36d-23999be9776b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7cfd2cc8-3e48-4225-a7f3-c0a30da87bb3",
      "Sequence": 1,
      "AncestorCategoryId": "c850e076-a1d5-493b-9c00-07ce6e43081d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "f3c471c3-c21d-4552-b36d-23999be9776b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7cfd2cc8-3e48-4225-a7f3-c0a30da87bb3",
      "Sequence": 1,
      "AncestorCategoryId": "c850e076-a1d5-493b-9c00-07ce6e43081d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "b6d83749-cfe3-4e3a-b98a-fb21cfb7940f",
          "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": "74e3e2c7-b052-42dd-b237-9afccf543b26",
    "CategoryId": "065c323c-565b-4c65-89ad-440bda1b57ea",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8835e3cd-71bd-4c06-bcbe-403e22426472",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8835e3cd-71bd-4c06-bcbe-403e22426472",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1b2d2cf2-b4fc-484b-9cf0-cf1b46316ae9",
      "Questions": [
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        },
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1b2d2cf2-b4fc-484b-9cf0-cf1b46316ae9",
      "Questions": [
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        },
        {
          "Id": "98d13078-fd28-4d9f-8c00-14a3fada05e5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fbbd3685-927e-4189-ac75-47a9160627fe",
      "ContentItemId": "2c658ce8-9902-4d94-9c65-146dd1f75a81",
      "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-09T23:10:43.6870015+00:00",
      "RescheduleDate": "2026-07-09T23:10:43.6870015+00:00"
    },
    {
      "Id": "fbbd3685-927e-4189-ac75-47a9160627fe",
      "ContentItemId": "2c658ce8-9902-4d94-9c65-146dd1f75a81",
      "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-09T23:10:43.6870015+00:00",
      "RescheduleDate": "2026-07-09T23:10:43.6870015+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}