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": "ccdc677d-2b07-41ab-920f-29d152c1cc39",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-21T22:24:53.114833+00:00",
  "Registration": {
    "Id": "99daec0e-725f-423d-898c-df146379e6df",
    "UserId": "876f97d5-1f23-450a-888f-c0ad79b29046",
    "IsCurrent": true,
    "CenterId": "e4b6bc62-1297-4a14-a67f-85618ff0c88b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "aa3d342a-0f5d-46f2-a450-ec5d29f64d19",
    "EndDate": "2026-07-21T22:24:53.114833+00:00",
    "StartDate": "2026-07-21T22:24:53.114833+00:00",
    "SchedulePreferenceDate": "2026-07-21T22:24:53.114833+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-21T22:24:53.114833+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c85b1dd3-0b5f-46ef-847b-0d99c025d81d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "445ddda1-3836-4aef-b8a6-430ae1558955",
      "Sequence": 1,
      "AncestorCategoryId": "cac20143-286c-4587-b275-91e06da61344",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "c85b1dd3-0b5f-46ef-847b-0d99c025d81d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "445ddda1-3836-4aef-b8a6-430ae1558955",
      "Sequence": 1,
      "AncestorCategoryId": "cac20143-286c-4587-b275-91e06da61344",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "4718e2fd-74bd-4573-b9b0-b2ba3385500b",
    "CategoryId": "f1028ec5-8981-4beb-868d-f8bb8873d9d5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5301592d-c22b-4a69-80b2-f59bf2e74e11",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5301592d-c22b-4a69-80b2-f59bf2e74e11",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e360fa66-322e-4f50-8462-472c0ab7478b",
      "Questions": [
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        },
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e360fa66-322e-4f50-8462-472c0ab7478b",
      "Questions": [
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        },
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6213a221-c96e-44a4-9215-d7487204087a",
      "ContentItemId": "7ac1f34c-74ba-4289-aebf-88823de94f4c",
      "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-21T22:24:53.114833+00:00",
      "RescheduleDate": "2026-07-21T22:24:53.114833+00:00"
    },
    {
      "Id": "6213a221-c96e-44a4-9215-d7487204087a",
      "ContentItemId": "7ac1f34c-74ba-4289-aebf-88823de94f4c",
      "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-21T22:24:53.114833+00:00",
      "RescheduleDate": "2026-07-21T22:24:53.114833+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "ccdc677d-2b07-41ab-920f-29d152c1cc39",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-21T22:24:53.1617072+00:00",
  "Registration": {
    "Id": "99daec0e-725f-423d-898c-df146379e6df",
    "UserId": "876f97d5-1f23-450a-888f-c0ad79b29046",
    "IsCurrent": true,
    "CenterId": "e4b6bc62-1297-4a14-a67f-85618ff0c88b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "aa3d342a-0f5d-46f2-a450-ec5d29f64d19",
    "EndDate": "2026-07-21T22:24:53.114833+00:00",
    "StartDate": "2026-07-21T22:24:53.114833+00:00",
    "SchedulePreferenceDate": "2026-07-21T22:24:53.114833+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-21T22:24:53.114833+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c85b1dd3-0b5f-46ef-847b-0d99c025d81d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "445ddda1-3836-4aef-b8a6-430ae1558955",
      "Sequence": 1,
      "AncestorCategoryId": "cac20143-286c-4587-b275-91e06da61344",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "c85b1dd3-0b5f-46ef-847b-0d99c025d81d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "445ddda1-3836-4aef-b8a6-430ae1558955",
      "Sequence": 1,
      "AncestorCategoryId": "cac20143-286c-4587-b275-91e06da61344",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "3e5aa40e-2c4e-4f21-84f1-0fc1b300eb99",
          "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": "4718e2fd-74bd-4573-b9b0-b2ba3385500b",
    "CategoryId": "f1028ec5-8981-4beb-868d-f8bb8873d9d5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5301592d-c22b-4a69-80b2-f59bf2e74e11",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5301592d-c22b-4a69-80b2-f59bf2e74e11",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e360fa66-322e-4f50-8462-472c0ab7478b",
      "Questions": [
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        },
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e360fa66-322e-4f50-8462-472c0ab7478b",
      "Questions": [
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        },
        {
          "Id": "bd60acf9-6bb1-4501-bf24-98bbcd288dde",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6213a221-c96e-44a4-9215-d7487204087a",
      "ContentItemId": "7ac1f34c-74ba-4289-aebf-88823de94f4c",
      "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-21T22:24:53.114833+00:00",
      "RescheduleDate": "2026-07-21T22:24:53.114833+00:00"
    },
    {
      "Id": "6213a221-c96e-44a4-9215-d7487204087a",
      "ContentItemId": "7ac1f34c-74ba-4289-aebf-88823de94f4c",
      "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-21T22:24:53.114833+00:00",
      "RescheduleDate": "2026-07-21T22:24:53.114833+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}