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": "d302722c-e849-4d30-9443-c5f33aa63cfe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-21T07:08:08.4075709+00:00",
  "Registration": {
    "Id": "febbcf24-61e8-42f1-a969-1b5ab72948d2",
    "UserId": "ff22a761-9643-4eaa-a85b-51d30424687d",
    "IsCurrent": true,
    "CenterId": "d4f3486f-bb6e-40c2-a1ad-1bf3d38a7eaa",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "583f3a0e-9a1a-427b-8067-d4859ce53745",
    "EndDate": "2026-10-21T07:08:08.3919442+00:00",
    "StartDate": "2026-10-21T07:08:08.3919442+00:00",
    "SchedulePreferenceDate": "2026-10-21T07:08:08.3919442+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-21T07:08:08.3919442+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8228cbb1-9f6f-4d0a-bcae-33079341cde0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "66a80d29-5671-4852-a736-bc1e40c3fcd4",
      "Sequence": 1,
      "AncestorCategoryId": "2972bc95-0a0d-4e4a-bd76-889ac0423ce5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "8228cbb1-9f6f-4d0a-bcae-33079341cde0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "66a80d29-5671-4852-a736-bc1e40c3fcd4",
      "Sequence": 1,
      "AncestorCategoryId": "2972bc95-0a0d-4e4a-bd76-889ac0423ce5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "72921ed3-d349-4852-87f5-b04614da3b1a",
    "CategoryId": "edaad076-5857-4783-9c85-9576b4811180",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f974eda2-8d92-45b9-8501-30ea5c40412c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f974eda2-8d92-45b9-8501-30ea5c40412c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c0247840-e43f-42e0-90a3-8b1a3585d8f9",
      "Questions": [
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c0247840-e43f-42e0-90a3-8b1a3585d8f9",
      "Questions": [
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6c33b30d-3d10-4fe2-af94-b47b059cf539",
      "ContentItemId": "5583e765-82b6-43f8-910c-91af54f573cf",
      "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-21T07:08:08.3919442+00:00",
      "RescheduleDate": "2026-10-21T07:08:08.3919442+00:00"
    },
    {
      "Id": "6c33b30d-3d10-4fe2-af94-b47b059cf539",
      "ContentItemId": "5583e765-82b6-43f8-910c-91af54f573cf",
      "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-21T07:08:08.3919442+00:00",
      "RescheduleDate": "2026-10-21T07:08:08.3919442+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "d302722c-e849-4d30-9443-c5f33aa63cfe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-21T07:08:08.4231946+00:00",
  "Registration": {
    "Id": "febbcf24-61e8-42f1-a969-1b5ab72948d2",
    "UserId": "ff22a761-9643-4eaa-a85b-51d30424687d",
    "IsCurrent": true,
    "CenterId": "d4f3486f-bb6e-40c2-a1ad-1bf3d38a7eaa",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "583f3a0e-9a1a-427b-8067-d4859ce53745",
    "EndDate": "2026-10-21T07:08:08.3919442+00:00",
    "StartDate": "2026-10-21T07:08:08.3919442+00:00",
    "SchedulePreferenceDate": "2026-10-21T07:08:08.3919442+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-21T07:08:08.3919442+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8228cbb1-9f6f-4d0a-bcae-33079341cde0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "66a80d29-5671-4852-a736-bc1e40c3fcd4",
      "Sequence": 1,
      "AncestorCategoryId": "2972bc95-0a0d-4e4a-bd76-889ac0423ce5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "8228cbb1-9f6f-4d0a-bcae-33079341cde0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "66a80d29-5671-4852-a736-bc1e40c3fcd4",
      "Sequence": 1,
      "AncestorCategoryId": "2972bc95-0a0d-4e4a-bd76-889ac0423ce5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "ac1a3a90-ef6a-47f9-b025-177a92f15c14",
          "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": "72921ed3-d349-4852-87f5-b04614da3b1a",
    "CategoryId": "edaad076-5857-4783-9c85-9576b4811180",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f974eda2-8d92-45b9-8501-30ea5c40412c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f974eda2-8d92-45b9-8501-30ea5c40412c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c0247840-e43f-42e0-90a3-8b1a3585d8f9",
      "Questions": [
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c0247840-e43f-42e0-90a3-8b1a3585d8f9",
      "Questions": [
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "501f209d-1183-45cf-a5b1-c72229a257f4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6c33b30d-3d10-4fe2-af94-b47b059cf539",
      "ContentItemId": "5583e765-82b6-43f8-910c-91af54f573cf",
      "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-21T07:08:08.3919442+00:00",
      "RescheduleDate": "2026-10-21T07:08:08.3919442+00:00"
    },
    {
      "Id": "6c33b30d-3d10-4fe2-af94-b47b059cf539",
      "ContentItemId": "5583e765-82b6-43f8-910c-91af54f573cf",
      "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-21T07:08:08.3919442+00:00",
      "RescheduleDate": "2026-10-21T07:08:08.3919442+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}