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": "f6ebd10f-5d5f-4ae7-a53f-af0499e8edc0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-07T18:14:42.2040387+00:00",
  "Registration": [
    {
      "Id": "110ae465-cb85-4ab6-a4d0-68fb84c0cd00",
      "UserId": "0d26425c-1ef7-46e5-9ba2-88d6c9449f5d",
      "IsCurrent": true,
      "CenterId": "c46d05bb-751d-41d8-a2c0-575ff8436c1b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "968df8c5-1006-4d58-a07d-ad8a2659f6fa",
      "EndDate": "2026-11-07T18:14:42.2040387+00:00",
      "StartDate": "2026-11-07T18:14:42.2040387+00:00",
      "SchedulePreferenceDate": "2026-11-07T18:14:42.2040387+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": "110ae465-cb85-4ab6-a4d0-68fb84c0cd00",
      "UserId": "0d26425c-1ef7-46e5-9ba2-88d6c9449f5d",
      "IsCurrent": true,
      "CenterId": "c46d05bb-751d-41d8-a2c0-575ff8436c1b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "968df8c5-1006-4d58-a07d-ad8a2659f6fa",
      "EndDate": "2026-11-07T18:14:42.2040387+00:00",
      "StartDate": "2026-11-07T18:14:42.2040387+00:00",
      "SchedulePreferenceDate": "2026-11-07T18:14:42.2040387+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-11-07T18:14:42.2040387+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2cf070d6-fd1f-4b59-85e7-3de22d7e45b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b6c5eff0-7560-42d3-90c7-c4489b3fad71",
      "Sequence": 1,
      "AncestorCategoryId": "88e34b5a-f3e5-4f73-8c39-d951e22cfc4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "2cf070d6-fd1f-4b59-85e7-3de22d7e45b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b6c5eff0-7560-42d3-90c7-c4489b3fad71",
      "Sequence": 1,
      "AncestorCategoryId": "88e34b5a-f3e5-4f73-8c39-d951e22cfc4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "6fe27153-639a-4f47-84b5-d912f337919a",
    "CategoryId": "e087e856-eadc-4b33-ba5c-772240a5c1f8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f2024f43-e58b-4409-ab2f-6bcfa88410c7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f2024f43-e58b-4409-ab2f-6bcfa88410c7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0bdc464f-4c8a-439d-aa05-c937ad884591",
      "Questions": [
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        },
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0bdc464f-4c8a-439d-aa05-c937ad884591",
      "Questions": [
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        },
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4e1d29d2-b119-423f-987c-92d08f071e33",
      "ContentItemId": "e4c27371-7484-4851-a214-952a4149ee23",
      "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-11-07T18:14:42.2040387+00:00",
      "RescheduleDate": "2026-11-07T18:14:42.2040387+00:00"
    },
    {
      "Id": "4e1d29d2-b119-423f-987c-92d08f071e33",
      "ContentItemId": "e4c27371-7484-4851-a214-952a4149ee23",
      "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-11-07T18:14:42.2040387+00:00",
      "RescheduleDate": "2026-11-07T18:14:42.2040387+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": "f6ebd10f-5d5f-4ae7-a53f-af0499e8edc0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-07T18:14:42.235296+00:00",
  "Registration": [
    {
      "Id": "110ae465-cb85-4ab6-a4d0-68fb84c0cd00",
      "UserId": "0d26425c-1ef7-46e5-9ba2-88d6c9449f5d",
      "IsCurrent": true,
      "CenterId": "c46d05bb-751d-41d8-a2c0-575ff8436c1b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "968df8c5-1006-4d58-a07d-ad8a2659f6fa",
      "EndDate": "2026-11-07T18:14:42.2040387+00:00",
      "StartDate": "2026-11-07T18:14:42.2040387+00:00",
      "SchedulePreferenceDate": "2026-11-07T18:14:42.2040387+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": "110ae465-cb85-4ab6-a4d0-68fb84c0cd00",
      "UserId": "0d26425c-1ef7-46e5-9ba2-88d6c9449f5d",
      "IsCurrent": true,
      "CenterId": "c46d05bb-751d-41d8-a2c0-575ff8436c1b",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "968df8c5-1006-4d58-a07d-ad8a2659f6fa",
      "EndDate": "2026-11-07T18:14:42.2040387+00:00",
      "StartDate": "2026-11-07T18:14:42.2040387+00:00",
      "SchedulePreferenceDate": "2026-11-07T18:14:42.2040387+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-11-07T18:14:42.2040387+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2cf070d6-fd1f-4b59-85e7-3de22d7e45b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b6c5eff0-7560-42d3-90c7-c4489b3fad71",
      "Sequence": 1,
      "AncestorCategoryId": "88e34b5a-f3e5-4f73-8c39-d951e22cfc4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "2cf070d6-fd1f-4b59-85e7-3de22d7e45b8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b6c5eff0-7560-42d3-90c7-c4489b3fad71",
      "Sequence": 1,
      "AncestorCategoryId": "88e34b5a-f3e5-4f73-8c39-d951e22cfc4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "94e99f9f-4953-4980-a1fa-49a1dc75b56c",
          "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": "6fe27153-639a-4f47-84b5-d912f337919a",
    "CategoryId": "e087e856-eadc-4b33-ba5c-772240a5c1f8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f2024f43-e58b-4409-ab2f-6bcfa88410c7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f2024f43-e58b-4409-ab2f-6bcfa88410c7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0bdc464f-4c8a-439d-aa05-c937ad884591",
      "Questions": [
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        },
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0bdc464f-4c8a-439d-aa05-c937ad884591",
      "Questions": [
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        },
        {
          "Id": "76da29f8-0cc1-471f-a0c8-0f69273ba71c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4e1d29d2-b119-423f-987c-92d08f071e33",
      "ContentItemId": "e4c27371-7484-4851-a214-952a4149ee23",
      "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-11-07T18:14:42.2040387+00:00",
      "RescheduleDate": "2026-11-07T18:14:42.2040387+00:00"
    },
    {
      "Id": "4e1d29d2-b119-423f-987c-92d08f071e33",
      "ContentItemId": "e4c27371-7484-4851-a214-952a4149ee23",
      "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-11-07T18:14:42.2040387+00:00",
      "RescheduleDate": "2026-11-07T18:14:42.2040387+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}