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": "047fb58b-2396-409b-8540-2748ab27cc1f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-28T06:01:47.2601293+00:00",
  "Registration": {
    "Id": "e72040a4-4e55-4efe-a5a3-2533d410ad5c",
    "UserId": "e14cdbed-eae9-47f0-a5d5-d98dc8e533db",
    "IsCurrent": true,
    "CenterId": "18636cbf-5838-494f-a7e0-75d5b43e525d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1d84efd8-2cf4-49ae-a7ca-6c1a045333ac",
    "EndDate": "2026-10-28T06:01:47.2601293+00:00",
    "StartDate": "2026-10-28T06:01:47.2601293+00:00",
    "SchedulePreferenceDate": "2026-10-28T06:01:47.2601293+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-10-28T06:01:47.2601293+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d13d63f4-0582-44f7-a391-b32081370d58",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "627627d6-4e34-497a-92df-8b8c715b9752",
      "Sequence": 1,
      "AncestorCategoryId": "879f9522-df61-4a91-b364-9ce3671b0726",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "d13d63f4-0582-44f7-a391-b32081370d58",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "627627d6-4e34-497a-92df-8b8c715b9752",
      "Sequence": 1,
      "AncestorCategoryId": "879f9522-df61-4a91-b364-9ce3671b0726",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "a7e893f7-1e57-4080-8069-8fc5063cbfce",
    "CategoryId": "49a11bb2-aada-4a48-ae92-478604f2fddb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "585aef24-563c-4d34-8a2f-f0f9623cb7e3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "585aef24-563c-4d34-8a2f-f0f9623cb7e3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9d88b588-0ba8-47e9-8b47-e60bf24dd6b3",
      "Questions": [
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9d88b588-0ba8-47e9-8b47-e60bf24dd6b3",
      "Questions": [
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "68c669c9-b716-4189-8cd3-b53172bcc5c3",
      "ContentItemId": "f0f80a92-3c78-43ee-98a2-f1245ca2f9b7",
      "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-10-28T06:01:47.2601293+00:00",
      "RescheduleDate": "2026-10-28T06:01:47.2601293+00:00"
    },
    {
      "Id": "68c669c9-b716-4189-8cd3-b53172bcc5c3",
      "ContentItemId": "f0f80a92-3c78-43ee-98a2-f1245ca2f9b7",
      "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-10-28T06:01:47.2601293+00:00",
      "RescheduleDate": "2026-10-28T06:01:47.2601293+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "047fb58b-2396-409b-8540-2748ab27cc1f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-28T06:01:47.2913783+00:00",
  "Registration": {
    "Id": "e72040a4-4e55-4efe-a5a3-2533d410ad5c",
    "UserId": "e14cdbed-eae9-47f0-a5d5-d98dc8e533db",
    "IsCurrent": true,
    "CenterId": "18636cbf-5838-494f-a7e0-75d5b43e525d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1d84efd8-2cf4-49ae-a7ca-6c1a045333ac",
    "EndDate": "2026-10-28T06:01:47.2601293+00:00",
    "StartDate": "2026-10-28T06:01:47.2601293+00:00",
    "SchedulePreferenceDate": "2026-10-28T06:01:47.2601293+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-10-28T06:01:47.2601293+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d13d63f4-0582-44f7-a391-b32081370d58",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "627627d6-4e34-497a-92df-8b8c715b9752",
      "Sequence": 1,
      "AncestorCategoryId": "879f9522-df61-4a91-b364-9ce3671b0726",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "d13d63f4-0582-44f7-a391-b32081370d58",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "627627d6-4e34-497a-92df-8b8c715b9752",
      "Sequence": 1,
      "AncestorCategoryId": "879f9522-df61-4a91-b364-9ce3671b0726",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "5d42783e-bf91-45a1-ba42-b5279a404dca",
          "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": "a7e893f7-1e57-4080-8069-8fc5063cbfce",
    "CategoryId": "49a11bb2-aada-4a48-ae92-478604f2fddb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "585aef24-563c-4d34-8a2f-f0f9623cb7e3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "585aef24-563c-4d34-8a2f-f0f9623cb7e3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9d88b588-0ba8-47e9-8b47-e60bf24dd6b3",
      "Questions": [
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9d88b588-0ba8-47e9-8b47-e60bf24dd6b3",
      "Questions": [
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "59718a52-0c46-4cbc-bdb5-8d90be9e6dcd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "68c669c9-b716-4189-8cd3-b53172bcc5c3",
      "ContentItemId": "f0f80a92-3c78-43ee-98a2-f1245ca2f9b7",
      "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-10-28T06:01:47.2601293+00:00",
      "RescheduleDate": "2026-10-28T06:01:47.2601293+00:00"
    },
    {
      "Id": "68c669c9-b716-4189-8cd3-b53172bcc5c3",
      "ContentItemId": "f0f80a92-3c78-43ee-98a2-f1245ca2f9b7",
      "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-10-28T06:01:47.2601293+00:00",
      "RescheduleDate": "2026-10-28T06:01:47.2601293+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}