GET v2/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.View.UserStateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

Collection of 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.

StudentSpeakPlusLevelInfo

string

None.

Response Formats

application/json

Sample:
{
  "UserId": "df569172-f2c1-498f-bb7e-d28410ec35ac",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-11T13:59:03.1030658+00:00",
  "Registration": [
    {
      "Id": "5459e1fa-4985-42a2-bcf0-ad80f4721abb",
      "UserId": "b099784d-f4bd-48b1-8be6-379520da8306",
      "IsCurrent": true,
      "CenterId": "d20cd59e-626e-4576-b29f-30f6e79f479b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2886ad8f-b152-4e23-8205-d0df1df69260",
      "EndDate": "2026-06-11T13:59:03.0874414+00:00",
      "StartDate": "2026-06-11T13:59:03.0874414+00:00",
      "SchedulePreferenceDate": "2026-06-11T13:59:03.0874414+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"
    },
    {
      "Id": "5459e1fa-4985-42a2-bcf0-ad80f4721abb",
      "UserId": "b099784d-f4bd-48b1-8be6-379520da8306",
      "IsCurrent": true,
      "CenterId": "d20cd59e-626e-4576-b29f-30f6e79f479b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2886ad8f-b152-4e23-8205-d0df1df69260",
      "EndDate": "2026-06-11T13:59:03.0874414+00:00",
      "StartDate": "2026-06-11T13:59:03.0874414+00:00",
      "SchedulePreferenceDate": "2026-06-11T13:59:03.0874414+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-06-11T13:59:03.0874414+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "976167c8-70d0-4c34-ad0f-3d4624b2b98d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3122e9fc-2973-4666-a453-7b083e3f1575",
      "Sequence": 1,
      "AncestorCategoryId": "c8bb375d-9d43-494d-acb1-adf55072efb9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "976167c8-70d0-4c34-ad0f-3d4624b2b98d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3122e9fc-2973-4666-a453-7b083e3f1575",
      "Sequence": 1,
      "AncestorCategoryId": "c8bb375d-9d43-494d-acb1-adf55072efb9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "7529f5d8-26bf-4bf9-bd7d-ed58dbc4c918",
    "CategoryId": "70dad098-c41d-4b12-91c8-af588eb61e28",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bb43114f-d155-4def-9d13-0b6938001da4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bb43114f-d155-4def-9d13-0b6938001da4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "afe27dac-f47c-44ff-a9a8-757c325a9a40",
      "Questions": [
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        },
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "afe27dac-f47c-44ff-a9a8-757c325a9a40",
      "Questions": [
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        },
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b3a83ccc-a078-420b-8e2f-e3bb7999d148",
      "ContentItemId": "ea0f0c4d-00b4-4719-b03c-dd2aee26f826",
      "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-06-11T13:59:03.0874414+00:00",
      "RescheduleDate": "2026-06-11T13:59:03.0874414+00:00"
    },
    {
      "Id": "b3a83ccc-a078-420b-8e2f-e3bb7999d148",
      "ContentItemId": "ea0f0c4d-00b4-4719-b03c-dd2aee26f826",
      "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-06-11T13:59:03.0874414+00:00",
      "RescheduleDate": "2026-06-11T13:59:03.0874414+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}

text/json

Sample:
{
  "UserId": "df569172-f2c1-498f-bb7e-d28410ec35ac",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-11T13:59:03.1499402+00:00",
  "Registration": [
    {
      "Id": "5459e1fa-4985-42a2-bcf0-ad80f4721abb",
      "UserId": "b099784d-f4bd-48b1-8be6-379520da8306",
      "IsCurrent": true,
      "CenterId": "d20cd59e-626e-4576-b29f-30f6e79f479b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2886ad8f-b152-4e23-8205-d0df1df69260",
      "EndDate": "2026-06-11T13:59:03.0874414+00:00",
      "StartDate": "2026-06-11T13:59:03.0874414+00:00",
      "SchedulePreferenceDate": "2026-06-11T13:59:03.0874414+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"
    },
    {
      "Id": "5459e1fa-4985-42a2-bcf0-ad80f4721abb",
      "UserId": "b099784d-f4bd-48b1-8be6-379520da8306",
      "IsCurrent": true,
      "CenterId": "d20cd59e-626e-4576-b29f-30f6e79f479b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2886ad8f-b152-4e23-8205-d0df1df69260",
      "EndDate": "2026-06-11T13:59:03.0874414+00:00",
      "StartDate": "2026-06-11T13:59:03.0874414+00:00",
      "SchedulePreferenceDate": "2026-06-11T13:59:03.0874414+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-06-11T13:59:03.0874414+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "976167c8-70d0-4c34-ad0f-3d4624b2b98d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3122e9fc-2973-4666-a453-7b083e3f1575",
      "Sequence": 1,
      "AncestorCategoryId": "c8bb375d-9d43-494d-acb1-adf55072efb9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "976167c8-70d0-4c34-ad0f-3d4624b2b98d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3122e9fc-2973-4666-a453-7b083e3f1575",
      "Sequence": 1,
      "AncestorCategoryId": "c8bb375d-9d43-494d-acb1-adf55072efb9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "22ac5664-f13f-44be-bd45-f4475cf227da",
          "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": "7529f5d8-26bf-4bf9-bd7d-ed58dbc4c918",
    "CategoryId": "70dad098-c41d-4b12-91c8-af588eb61e28",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bb43114f-d155-4def-9d13-0b6938001da4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bb43114f-d155-4def-9d13-0b6938001da4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "afe27dac-f47c-44ff-a9a8-757c325a9a40",
      "Questions": [
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        },
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "afe27dac-f47c-44ff-a9a8-757c325a9a40",
      "Questions": [
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        },
        {
          "Id": "b488cd99-53e8-4f23-a8fb-518466ba5b5d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b3a83ccc-a078-420b-8e2f-e3bb7999d148",
      "ContentItemId": "ea0f0c4d-00b4-4719-b03c-dd2aee26f826",
      "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-06-11T13:59:03.0874414+00:00",
      "RescheduleDate": "2026-06-11T13:59:03.0874414+00:00"
    },
    {
      "Id": "b3a83ccc-a078-420b-8e2f-e3bb7999d148",
      "ContentItemId": "ea0f0c4d-00b4-4719-b03c-dd2aee26f826",
      "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-06-11T13:59:03.0874414+00:00",
      "RescheduleDate": "2026-06-11T13:59:03.0874414+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}