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": "f1b0ee73-5733-44de-b398-18ccf0a20c66",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-27T09:42:17.8873011+00:00",
  "Registration": [
    {
      "Id": "1540d98a-59c0-47fe-a982-c77c618224f0",
      "UserId": "46391239-c15b-477d-bc7b-416ae282dd3d",
      "IsCurrent": true,
      "CenterId": "e098d2ad-25b9-4404-b54f-d10939f26376",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "43eee87e-74b1-4b98-93a4-26adfe65b3a4",
      "EndDate": "2026-07-27T09:42:17.871678+00:00",
      "StartDate": "2026-07-27T09:42:17.871678+00:00",
      "SchedulePreferenceDate": "2026-07-27T09:42:17.871678+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": "1540d98a-59c0-47fe-a982-c77c618224f0",
      "UserId": "46391239-c15b-477d-bc7b-416ae282dd3d",
      "IsCurrent": true,
      "CenterId": "e098d2ad-25b9-4404-b54f-d10939f26376",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "43eee87e-74b1-4b98-93a4-26adfe65b3a4",
      "EndDate": "2026-07-27T09:42:17.871678+00:00",
      "StartDate": "2026-07-27T09:42:17.871678+00:00",
      "SchedulePreferenceDate": "2026-07-27T09:42:17.871678+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-27T09:42:17.871678+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b9a4f0ff-eaf0-4f2b-b741-d648d96fa1f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ac498db-a9aa-4769-860e-c8906885d972",
      "Sequence": 1,
      "AncestorCategoryId": "f0023346-f24b-4f08-b6b9-1d666d5b3a91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "b9a4f0ff-eaf0-4f2b-b741-d648d96fa1f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ac498db-a9aa-4769-860e-c8906885d972",
      "Sequence": 1,
      "AncestorCategoryId": "f0023346-f24b-4f08-b6b9-1d666d5b3a91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "7e4a6804-8c87-4980-a825-62531dd49824",
    "CategoryId": "c30ecf27-0bca-4806-bbdb-43af8b8f3b77",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ca8ea73-faa3-4a9e-ac6d-789ef45782a1",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ca8ea73-faa3-4a9e-ac6d-789ef45782a1",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "319b729f-63fc-4f69-942f-fdfd79392eda",
      "Questions": [
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        },
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "319b729f-63fc-4f69-942f-fdfd79392eda",
      "Questions": [
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        },
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ccea3035-6226-45a9-95d9-ff44aad8a2e9",
      "ContentItemId": "76504937-c273-47e5-9cbe-ef3fa90fb58a",
      "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-27T09:42:17.8873011+00:00",
      "RescheduleDate": "2026-07-27T09:42:17.8873011+00:00"
    },
    {
      "Id": "ccea3035-6226-45a9-95d9-ff44aad8a2e9",
      "ContentItemId": "76504937-c273-47e5-9cbe-ef3fa90fb58a",
      "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-27T09:42:17.8873011+00:00",
      "RescheduleDate": "2026-07-27T09:42:17.8873011+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": "f1b0ee73-5733-44de-b398-18ccf0a20c66",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-27T09:42:17.9341775+00:00",
  "Registration": [
    {
      "Id": "1540d98a-59c0-47fe-a982-c77c618224f0",
      "UserId": "46391239-c15b-477d-bc7b-416ae282dd3d",
      "IsCurrent": true,
      "CenterId": "e098d2ad-25b9-4404-b54f-d10939f26376",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "43eee87e-74b1-4b98-93a4-26adfe65b3a4",
      "EndDate": "2026-07-27T09:42:17.871678+00:00",
      "StartDate": "2026-07-27T09:42:17.871678+00:00",
      "SchedulePreferenceDate": "2026-07-27T09:42:17.871678+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": "1540d98a-59c0-47fe-a982-c77c618224f0",
      "UserId": "46391239-c15b-477d-bc7b-416ae282dd3d",
      "IsCurrent": true,
      "CenterId": "e098d2ad-25b9-4404-b54f-d10939f26376",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "43eee87e-74b1-4b98-93a4-26adfe65b3a4",
      "EndDate": "2026-07-27T09:42:17.871678+00:00",
      "StartDate": "2026-07-27T09:42:17.871678+00:00",
      "SchedulePreferenceDate": "2026-07-27T09:42:17.871678+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-27T09:42:17.871678+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b9a4f0ff-eaf0-4f2b-b741-d648d96fa1f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ac498db-a9aa-4769-860e-c8906885d972",
      "Sequence": 1,
      "AncestorCategoryId": "f0023346-f24b-4f08-b6b9-1d666d5b3a91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "b9a4f0ff-eaf0-4f2b-b741-d648d96fa1f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ac498db-a9aa-4769-860e-c8906885d972",
      "Sequence": 1,
      "AncestorCategoryId": "f0023346-f24b-4f08-b6b9-1d666d5b3a91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "5a58656e-a158-4cb3-aa26-92d73c097509",
          "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": "7e4a6804-8c87-4980-a825-62531dd49824",
    "CategoryId": "c30ecf27-0bca-4806-bbdb-43af8b8f3b77",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ca8ea73-faa3-4a9e-ac6d-789ef45782a1",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ca8ea73-faa3-4a9e-ac6d-789ef45782a1",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "319b729f-63fc-4f69-942f-fdfd79392eda",
      "Questions": [
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        },
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "319b729f-63fc-4f69-942f-fdfd79392eda",
      "Questions": [
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        },
        {
          "Id": "37ee70a9-982d-4094-bfca-b82957b20e59",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ccea3035-6226-45a9-95d9-ff44aad8a2e9",
      "ContentItemId": "76504937-c273-47e5-9cbe-ef3fa90fb58a",
      "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-27T09:42:17.8873011+00:00",
      "RescheduleDate": "2026-07-27T09:42:17.8873011+00:00"
    },
    {
      "Id": "ccea3035-6226-45a9-95d9-ff44aad8a2e9",
      "ContentItemId": "76504937-c273-47e5-9cbe-ef3fa90fb58a",
      "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-27T09:42:17.8873011+00:00",
      "RescheduleDate": "2026-07-27T09:42:17.8873011+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}