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": "9920eb8d-fa46-4e0b-99ca-077cec81606d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-04T17:52:01.1353245+00:00",
  "Registration": {
    "Id": "ef236538-82eb-4386-aa3f-3955976d7ced",
    "UserId": "7da2aebe-9bfd-442c-b18d-7a4b1541ef07",
    "IsCurrent": true,
    "CenterId": "29746355-185d-40c2-b13c-4bf839cd45c5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0364d787-a19d-4b7d-af3b-a38cfa905ff7",
    "EndDate": "2026-08-04T17:52:01.1196952+00:00",
    "StartDate": "2026-08-04T17:52:01.1196952+00:00",
    "SchedulePreferenceDate": "2026-08-04T17:52:01.1196952+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-08-04T17:52:01.1196952+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "019d0599-9353-4b9e-ada0-5e8fdaafa0bf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4877bcd-3fc1-40ba-9b19-394aee78c39d",
      "Sequence": 1,
      "AncestorCategoryId": "ee8528e2-e7a0-43dd-8332-b7f09630feea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "019d0599-9353-4b9e-ada0-5e8fdaafa0bf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4877bcd-3fc1-40ba-9b19-394aee78c39d",
      "Sequence": 1,
      "AncestorCategoryId": "ee8528e2-e7a0-43dd-8332-b7f09630feea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "45fafee7-4a46-46e3-8f90-c57f1277b51f",
    "CategoryId": "cf93f305-fb4a-4eb1-9ce5-40d2010f4a8c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7d9aed7f-4ae4-42d2-9544-c529646c5969",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7d9aed7f-4ae4-42d2-9544-c529646c5969",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "84b3e025-9eb7-432f-9024-3212cab2a255",
      "Questions": [
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        },
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "84b3e025-9eb7-432f-9024-3212cab2a255",
      "Questions": [
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        },
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cb7b687e-3c92-49a9-8987-f5fb9762b5c0",
      "ContentItemId": "0c0a06d9-af7a-465c-8575-1965c4e78e2a",
      "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-08-04T17:52:01.1196952+00:00",
      "RescheduleDate": "2026-08-04T17:52:01.1196952+00:00"
    },
    {
      "Id": "cb7b687e-3c92-49a9-8987-f5fb9762b5c0",
      "ContentItemId": "0c0a06d9-af7a-465c-8575-1965c4e78e2a",
      "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-08-04T17:52:01.1196952+00:00",
      "RescheduleDate": "2026-08-04T17:52:01.1196952+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "9920eb8d-fa46-4e0b-99ca-077cec81606d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-04T17:52:01.1509493+00:00",
  "Registration": {
    "Id": "ef236538-82eb-4386-aa3f-3955976d7ced",
    "UserId": "7da2aebe-9bfd-442c-b18d-7a4b1541ef07",
    "IsCurrent": true,
    "CenterId": "29746355-185d-40c2-b13c-4bf839cd45c5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0364d787-a19d-4b7d-af3b-a38cfa905ff7",
    "EndDate": "2026-08-04T17:52:01.1196952+00:00",
    "StartDate": "2026-08-04T17:52:01.1196952+00:00",
    "SchedulePreferenceDate": "2026-08-04T17:52:01.1196952+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-08-04T17:52:01.1196952+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "019d0599-9353-4b9e-ada0-5e8fdaafa0bf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4877bcd-3fc1-40ba-9b19-394aee78c39d",
      "Sequence": 1,
      "AncestorCategoryId": "ee8528e2-e7a0-43dd-8332-b7f09630feea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "019d0599-9353-4b9e-ada0-5e8fdaafa0bf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4877bcd-3fc1-40ba-9b19-394aee78c39d",
      "Sequence": 1,
      "AncestorCategoryId": "ee8528e2-e7a0-43dd-8332-b7f09630feea",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "c75749d2-c72e-4122-9d45-2cc7e11a9a6e",
          "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": "45fafee7-4a46-46e3-8f90-c57f1277b51f",
    "CategoryId": "cf93f305-fb4a-4eb1-9ce5-40d2010f4a8c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7d9aed7f-4ae4-42d2-9544-c529646c5969",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7d9aed7f-4ae4-42d2-9544-c529646c5969",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "84b3e025-9eb7-432f-9024-3212cab2a255",
      "Questions": [
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        },
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "84b3e025-9eb7-432f-9024-3212cab2a255",
      "Questions": [
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        },
        {
          "Id": "382b4271-fb4b-46fe-b9a1-61d7f7c0243b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cb7b687e-3c92-49a9-8987-f5fb9762b5c0",
      "ContentItemId": "0c0a06d9-af7a-465c-8575-1965c4e78e2a",
      "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-08-04T17:52:01.1196952+00:00",
      "RescheduleDate": "2026-08-04T17:52:01.1196952+00:00"
    },
    {
      "Id": "cb7b687e-3c92-49a9-8987-f5fb9762b5c0",
      "ContentItemId": "0c0a06d9-af7a-465c-8575-1965c4e78e2a",
      "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-08-04T17:52:01.1196952+00:00",
      "RescheduleDate": "2026-08-04T17:52:01.1196952+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}