GET 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.Views.UserStateBackwardCompatibleViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

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.

Response Formats

application/json

Sample:
{
  "UserId": "2c5fa9a2-fc96-4be6-a035-9192ac007d78",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-13T22:49:58.5200085+00:00",
  "Registration": {
    "Id": "74071d58-fb30-4c7f-99b8-2d7ed6092d01",
    "UserId": "c7bcc4a4-be2b-4611-9f19-f5f43886f7d9",
    "IsCurrent": true,
    "CenterId": "0500d176-5128-435b-b9e7-3ab26062ad43",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3898c034-5ac0-4e83-bc12-ce9922d45ee7",
    "EndDate": "2026-01-13T22:49:58.5043839+00:00",
    "StartDate": "2026-01-13T22:49:58.5043839+00:00",
    "SchedulePreferenceDate": "2026-01-13T22:49:58.5043839+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-01-13T22:49:58.5043839+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "86f613bb-29f4-44cd-acdf-94ec20dd7a47",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ecde17b-8175-49d9-9b20-2c3f37168b4c",
      "Sequence": 1,
      "AncestorCategoryId": "c16df4fe-8d46-497b-99f2-96d3a08319ea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "86f613bb-29f4-44cd-acdf-94ec20dd7a47",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ecde17b-8175-49d9-9b20-2c3f37168b4c",
      "Sequence": 1,
      "AncestorCategoryId": "c16df4fe-8d46-497b-99f2-96d3a08319ea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "6cd020b0-750e-48e9-89a1-c1d4332d9eb6",
    "CategoryId": "b83cd368-2f26-464f-bf82-7f5e271ab97e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "be6de0b9-d08c-48d8-8d6a-8d329351182d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "be6de0b9-d08c-48d8-8d6a-8d329351182d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "948a6bf9-6012-46df-805c-39c1bb0b1a66",
      "Questions": [
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "948a6bf9-6012-46df-805c-39c1bb0b1a66",
      "Questions": [
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "08adc17d-2c03-430b-91ec-6709fad81941",
      "ContentItemId": "7ad53572-b996-4f47-97f7-d8e1309c3ab4",
      "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-01-13T22:49:58.5043839+00:00",
      "RescheduleDate": "2026-01-13T22:49:58.5043839+00:00"
    },
    {
      "Id": "08adc17d-2c03-430b-91ec-6709fad81941",
      "ContentItemId": "7ad53572-b996-4f47-97f7-d8e1309c3ab4",
      "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-01-13T22:49:58.5043839+00:00",
      "RescheduleDate": "2026-01-13T22:49:58.5043839+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "2c5fa9a2-fc96-4be6-a035-9192ac007d78",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-13T22:49:58.5512589+00:00",
  "Registration": {
    "Id": "74071d58-fb30-4c7f-99b8-2d7ed6092d01",
    "UserId": "c7bcc4a4-be2b-4611-9f19-f5f43886f7d9",
    "IsCurrent": true,
    "CenterId": "0500d176-5128-435b-b9e7-3ab26062ad43",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3898c034-5ac0-4e83-bc12-ce9922d45ee7",
    "EndDate": "2026-01-13T22:49:58.5043839+00:00",
    "StartDate": "2026-01-13T22:49:58.5043839+00:00",
    "SchedulePreferenceDate": "2026-01-13T22:49:58.5043839+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-01-13T22:49:58.5043839+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "86f613bb-29f4-44cd-acdf-94ec20dd7a47",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ecde17b-8175-49d9-9b20-2c3f37168b4c",
      "Sequence": 1,
      "AncestorCategoryId": "c16df4fe-8d46-497b-99f2-96d3a08319ea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "86f613bb-29f4-44cd-acdf-94ec20dd7a47",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ecde17b-8175-49d9-9b20-2c3f37168b4c",
      "Sequence": 1,
      "AncestorCategoryId": "c16df4fe-8d46-497b-99f2-96d3a08319ea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "aaa1dfa0-d5ec-4333-8ad8-cb9345ed29cf",
          "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": "6cd020b0-750e-48e9-89a1-c1d4332d9eb6",
    "CategoryId": "b83cd368-2f26-464f-bf82-7f5e271ab97e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "be6de0b9-d08c-48d8-8d6a-8d329351182d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "be6de0b9-d08c-48d8-8d6a-8d329351182d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "948a6bf9-6012-46df-805c-39c1bb0b1a66",
      "Questions": [
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "948a6bf9-6012-46df-805c-39c1bb0b1a66",
      "Questions": [
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad59c25c-ec99-4604-8431-e26f3af6c7f5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "08adc17d-2c03-430b-91ec-6709fad81941",
      "ContentItemId": "7ad53572-b996-4f47-97f7-d8e1309c3ab4",
      "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-01-13T22:49:58.5043839+00:00",
      "RescheduleDate": "2026-01-13T22:49:58.5043839+00:00"
    },
    {
      "Id": "08adc17d-2c03-430b-91ec-6709fad81941",
      "ContentItemId": "7ad53572-b996-4f47-97f7-d8e1309c3ab4",
      "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-01-13T22:49:58.5043839+00:00",
      "RescheduleDate": "2026-01-13T22:49:58.5043839+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}