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": "2217d31c-34a1-4676-8e0b-f0546a464d2f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-30T08:08:58.5905577+00:00",
  "Registration": [
    {
      "Id": "1108ad3f-4cfb-4453-b867-d05847c185c7",
      "UserId": "3dd61e7c-37a8-4dde-9605-2ff6edb6ba34",
      "IsCurrent": true,
      "CenterId": "d5481aeb-323b-46f5-be85-a4c0deecc13a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "50871a00-2ec2-40ee-a8a7-b0e40e75a06b",
      "EndDate": "2026-09-30T08:08:58.5749277+00:00",
      "StartDate": "2026-09-30T08:08:58.5749277+00:00",
      "SchedulePreferenceDate": "2026-09-30T08:08:58.5749277+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": "1108ad3f-4cfb-4453-b867-d05847c185c7",
      "UserId": "3dd61e7c-37a8-4dde-9605-2ff6edb6ba34",
      "IsCurrent": true,
      "CenterId": "d5481aeb-323b-46f5-be85-a4c0deecc13a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "50871a00-2ec2-40ee-a8a7-b0e40e75a06b",
      "EndDate": "2026-09-30T08:08:58.5749277+00:00",
      "StartDate": "2026-09-30T08:08:58.5749277+00:00",
      "SchedulePreferenceDate": "2026-09-30T08:08:58.5749277+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-30T08:08:58.5749277+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a8673632-46c4-4414-bd30-7807113a5eed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e65cb106-c56a-409b-847d-134850356b0f",
      "Sequence": 1,
      "AncestorCategoryId": "b4d6c0c5-5dbd-45c7-8857-044812325900",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "a8673632-46c4-4414-bd30-7807113a5eed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e65cb106-c56a-409b-847d-134850356b0f",
      "Sequence": 1,
      "AncestorCategoryId": "b4d6c0c5-5dbd-45c7-8857-044812325900",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "af855cb9-60be-475b-951f-e3c1d784ada9",
    "CategoryId": "c9f77dd9-1136-48f2-a577-9556afafd3b1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1a33b4b6-27fb-46ff-9da3-10caad981c1f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1a33b4b6-27fb-46ff-9da3-10caad981c1f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "39a75598-5280-4abd-9008-42ab75e93797",
      "Questions": [
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "39a75598-5280-4abd-9008-42ab75e93797",
      "Questions": [
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "43e6da67-b7f6-4fde-a093-954974583ecb",
      "ContentItemId": "0f627b05-22f3-4c46-9861-71669b3b5ff4",
      "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-30T08:08:58.5749277+00:00",
      "RescheduleDate": "2026-09-30T08:08:58.5749277+00:00"
    },
    {
      "Id": "43e6da67-b7f6-4fde-a093-954974583ecb",
      "ContentItemId": "0f627b05-22f3-4c46-9861-71669b3b5ff4",
      "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-30T08:08:58.5749277+00:00",
      "RescheduleDate": "2026-09-30T08:08:58.5749277+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": "2217d31c-34a1-4676-8e0b-f0546a464d2f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-30T08:08:58.6218101+00:00",
  "Registration": [
    {
      "Id": "1108ad3f-4cfb-4453-b867-d05847c185c7",
      "UserId": "3dd61e7c-37a8-4dde-9605-2ff6edb6ba34",
      "IsCurrent": true,
      "CenterId": "d5481aeb-323b-46f5-be85-a4c0deecc13a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "50871a00-2ec2-40ee-a8a7-b0e40e75a06b",
      "EndDate": "2026-09-30T08:08:58.5749277+00:00",
      "StartDate": "2026-09-30T08:08:58.5749277+00:00",
      "SchedulePreferenceDate": "2026-09-30T08:08:58.5749277+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": "1108ad3f-4cfb-4453-b867-d05847c185c7",
      "UserId": "3dd61e7c-37a8-4dde-9605-2ff6edb6ba34",
      "IsCurrent": true,
      "CenterId": "d5481aeb-323b-46f5-be85-a4c0deecc13a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "50871a00-2ec2-40ee-a8a7-b0e40e75a06b",
      "EndDate": "2026-09-30T08:08:58.5749277+00:00",
      "StartDate": "2026-09-30T08:08:58.5749277+00:00",
      "SchedulePreferenceDate": "2026-09-30T08:08:58.5749277+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-30T08:08:58.5749277+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a8673632-46c4-4414-bd30-7807113a5eed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e65cb106-c56a-409b-847d-134850356b0f",
      "Sequence": 1,
      "AncestorCategoryId": "b4d6c0c5-5dbd-45c7-8857-044812325900",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "a8673632-46c4-4414-bd30-7807113a5eed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e65cb106-c56a-409b-847d-134850356b0f",
      "Sequence": 1,
      "AncestorCategoryId": "b4d6c0c5-5dbd-45c7-8857-044812325900",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "23c97c24-5e90-4fef-b15e-42ae97ee7f85",
          "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": "af855cb9-60be-475b-951f-e3c1d784ada9",
    "CategoryId": "c9f77dd9-1136-48f2-a577-9556afafd3b1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1a33b4b6-27fb-46ff-9da3-10caad981c1f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1a33b4b6-27fb-46ff-9da3-10caad981c1f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "39a75598-5280-4abd-9008-42ab75e93797",
      "Questions": [
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "39a75598-5280-4abd-9008-42ab75e93797",
      "Questions": [
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fbcb28-8a96-49df-80cc-aa1d10341db2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "43e6da67-b7f6-4fde-a093-954974583ecb",
      "ContentItemId": "0f627b05-22f3-4c46-9861-71669b3b5ff4",
      "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-30T08:08:58.5749277+00:00",
      "RescheduleDate": "2026-09-30T08:08:58.5749277+00:00"
    },
    {
      "Id": "43e6da67-b7f6-4fde-a093-954974583ecb",
      "ContentItemId": "0f627b05-22f3-4c46-9861-71669b3b5ff4",
      "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-30T08:08:58.5749277+00:00",
      "RescheduleDate": "2026-09-30T08:08:58.5749277+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}