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": "beb6bd15-cade-4f10-a479-dde85536d7eb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-02T22:06:51.7287031+00:00",
  "Registration": [
    {
      "Id": "182a8649-7087-49c4-ae11-497496c04f21",
      "UserId": "b157dbf7-85ec-464f-bcf3-a448bee04e5f",
      "IsCurrent": true,
      "CenterId": "d1317c1a-8c3a-4fbc-bfd0-63da4889de83",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "99108362-4a6c-4218-ba78-fd6381c9d931",
      "EndDate": "2026-09-02T22:06:51.7287031+00:00",
      "StartDate": "2026-09-02T22:06:51.7287031+00:00",
      "SchedulePreferenceDate": "2026-09-02T22:06:51.7287031+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": "182a8649-7087-49c4-ae11-497496c04f21",
      "UserId": "b157dbf7-85ec-464f-bcf3-a448bee04e5f",
      "IsCurrent": true,
      "CenterId": "d1317c1a-8c3a-4fbc-bfd0-63da4889de83",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "99108362-4a6c-4218-ba78-fd6381c9d931",
      "EndDate": "2026-09-02T22:06:51.7287031+00:00",
      "StartDate": "2026-09-02T22:06:51.7287031+00:00",
      "SchedulePreferenceDate": "2026-09-02T22:06:51.7287031+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-09-02T22:06:51.7287031+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "70b9421e-0ccb-48af-b099-451bce695fdd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c09afb40-d288-4d1f-aef7-aea985046e37",
      "Sequence": 1,
      "AncestorCategoryId": "fa42d8f0-1cfe-4c2b-b275-3e620fb5adc8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "70b9421e-0ccb-48af-b099-451bce695fdd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c09afb40-d288-4d1f-aef7-aea985046e37",
      "Sequence": 1,
      "AncestorCategoryId": "fa42d8f0-1cfe-4c2b-b275-3e620fb5adc8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "0c1f7eb4-755b-489d-b5c2-165551ea3173",
    "CategoryId": "b2c18d8b-0c62-491e-a203-978171ba403b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a379a5ce-af88-4f5a-a324-67e409317558",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a379a5ce-af88-4f5a-a324-67e409317558",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4e1007ab-fd39-41a7-b1ee-2cc1566fb616",
      "Questions": [
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        },
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4e1007ab-fd39-41a7-b1ee-2cc1566fb616",
      "Questions": [
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        },
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dc040530-0f3d-45b3-994a-c0784f124d82",
      "ContentItemId": "d44641e7-0061-4dae-aa3a-be196c1d16c7",
      "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-09-02T22:06:51.7287031+00:00",
      "RescheduleDate": "2026-09-02T22:06:51.7287031+00:00"
    },
    {
      "Id": "dc040530-0f3d-45b3-994a-c0784f124d82",
      "ContentItemId": "d44641e7-0061-4dae-aa3a-be196c1d16c7",
      "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-09-02T22:06:51.7287031+00:00",
      "RescheduleDate": "2026-09-02T22:06:51.7287031+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": "beb6bd15-cade-4f10-a479-dde85536d7eb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-02T22:06:51.7599521+00:00",
  "Registration": [
    {
      "Id": "182a8649-7087-49c4-ae11-497496c04f21",
      "UserId": "b157dbf7-85ec-464f-bcf3-a448bee04e5f",
      "IsCurrent": true,
      "CenterId": "d1317c1a-8c3a-4fbc-bfd0-63da4889de83",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "99108362-4a6c-4218-ba78-fd6381c9d931",
      "EndDate": "2026-09-02T22:06:51.7287031+00:00",
      "StartDate": "2026-09-02T22:06:51.7287031+00:00",
      "SchedulePreferenceDate": "2026-09-02T22:06:51.7287031+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": "182a8649-7087-49c4-ae11-497496c04f21",
      "UserId": "b157dbf7-85ec-464f-bcf3-a448bee04e5f",
      "IsCurrent": true,
      "CenterId": "d1317c1a-8c3a-4fbc-bfd0-63da4889de83",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "99108362-4a6c-4218-ba78-fd6381c9d931",
      "EndDate": "2026-09-02T22:06:51.7287031+00:00",
      "StartDate": "2026-09-02T22:06:51.7287031+00:00",
      "SchedulePreferenceDate": "2026-09-02T22:06:51.7287031+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-09-02T22:06:51.7287031+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "70b9421e-0ccb-48af-b099-451bce695fdd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c09afb40-d288-4d1f-aef7-aea985046e37",
      "Sequence": 1,
      "AncestorCategoryId": "fa42d8f0-1cfe-4c2b-b275-3e620fb5adc8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "70b9421e-0ccb-48af-b099-451bce695fdd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c09afb40-d288-4d1f-aef7-aea985046e37",
      "Sequence": 1,
      "AncestorCategoryId": "fa42d8f0-1cfe-4c2b-b275-3e620fb5adc8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "88123247-14b3-4f1b-9e50-f438ca6007c0",
          "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": "0c1f7eb4-755b-489d-b5c2-165551ea3173",
    "CategoryId": "b2c18d8b-0c62-491e-a203-978171ba403b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a379a5ce-af88-4f5a-a324-67e409317558",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a379a5ce-af88-4f5a-a324-67e409317558",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4e1007ab-fd39-41a7-b1ee-2cc1566fb616",
      "Questions": [
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        },
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4e1007ab-fd39-41a7-b1ee-2cc1566fb616",
      "Questions": [
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        },
        {
          "Id": "1b5b95db-5870-410e-959c-4707434f9e09",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dc040530-0f3d-45b3-994a-c0784f124d82",
      "ContentItemId": "d44641e7-0061-4dae-aa3a-be196c1d16c7",
      "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-09-02T22:06:51.7287031+00:00",
      "RescheduleDate": "2026-09-02T22:06:51.7287031+00:00"
    },
    {
      "Id": "dc040530-0f3d-45b3-994a-c0784f124d82",
      "ContentItemId": "d44641e7-0061-4dae-aa3a-be196c1d16c7",
      "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-09-02T22:06:51.7287031+00:00",
      "RescheduleDate": "2026-09-02T22:06:51.7287031+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}