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": "4999a251-9ad9-4b1f-856b-785967e03764",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-22T05:39:15.6265656+00:00",
  "Registration": [
    {
      "Id": "9ec0acf5-5619-4d89-ab5d-bf7aaf638a03",
      "UserId": "9185991b-447b-42a9-9999-fc7959d7fa40",
      "IsCurrent": true,
      "CenterId": "9a01faae-9610-440c-9555-a43d8a841dd8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2a33b393-5668-4afe-8d9d-919da33e90cb",
      "EndDate": "2026-07-22T05:39:15.6265656+00:00",
      "StartDate": "2026-07-22T05:39:15.6265656+00:00",
      "SchedulePreferenceDate": "2026-07-22T05:39:15.6265656+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": "9ec0acf5-5619-4d89-ab5d-bf7aaf638a03",
      "UserId": "9185991b-447b-42a9-9999-fc7959d7fa40",
      "IsCurrent": true,
      "CenterId": "9a01faae-9610-440c-9555-a43d8a841dd8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2a33b393-5668-4afe-8d9d-919da33e90cb",
      "EndDate": "2026-07-22T05:39:15.6265656+00:00",
      "StartDate": "2026-07-22T05:39:15.6265656+00:00",
      "SchedulePreferenceDate": "2026-07-22T05:39:15.6265656+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-07-22T05:39:15.6265656+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b6d5077e-275f-4204-a9d3-f0ae5c9ec3fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6f8fd2c0-d596-46d0-98eb-1a23ebc2a79c",
      "Sequence": 1,
      "AncestorCategoryId": "990918dc-62e1-4597-bfb1-9085e4b6bc62",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "b6d5077e-275f-4204-a9d3-f0ae5c9ec3fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6f8fd2c0-d596-46d0-98eb-1a23ebc2a79c",
      "Sequence": 1,
      "AncestorCategoryId": "990918dc-62e1-4597-bfb1-9085e4b6bc62",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "ffa19153-9039-4f6c-968d-8d1b53b18c79",
    "CategoryId": "f9052273-014c-4934-92e1-b1cb4bb5d5c6",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8789cf2d-b641-4d2d-ae36-1e3d09a0e21b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8789cf2d-b641-4d2d-ae36-1e3d09a0e21b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "59ed4cb6-5c60-4075-a09a-37c4a0255c78",
      "Questions": [
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        },
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "59ed4cb6-5c60-4075-a09a-37c4a0255c78",
      "Questions": [
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        },
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "332722ed-a058-4183-a8a2-67cf067f0eb7",
      "ContentItemId": "c4d3d75c-22c2-4800-907a-36c7744b01e0",
      "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-07-22T05:39:15.6265656+00:00",
      "RescheduleDate": "2026-07-22T05:39:15.6265656+00:00"
    },
    {
      "Id": "332722ed-a058-4183-a8a2-67cf067f0eb7",
      "ContentItemId": "c4d3d75c-22c2-4800-907a-36c7744b01e0",
      "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-07-22T05:39:15.6265656+00:00",
      "RescheduleDate": "2026-07-22T05:39:15.6265656+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": "4999a251-9ad9-4b1f-856b-785967e03764",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-22T05:39:15.6421915+00:00",
  "Registration": [
    {
      "Id": "9ec0acf5-5619-4d89-ab5d-bf7aaf638a03",
      "UserId": "9185991b-447b-42a9-9999-fc7959d7fa40",
      "IsCurrent": true,
      "CenterId": "9a01faae-9610-440c-9555-a43d8a841dd8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2a33b393-5668-4afe-8d9d-919da33e90cb",
      "EndDate": "2026-07-22T05:39:15.6265656+00:00",
      "StartDate": "2026-07-22T05:39:15.6265656+00:00",
      "SchedulePreferenceDate": "2026-07-22T05:39:15.6265656+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": "9ec0acf5-5619-4d89-ab5d-bf7aaf638a03",
      "UserId": "9185991b-447b-42a9-9999-fc7959d7fa40",
      "IsCurrent": true,
      "CenterId": "9a01faae-9610-440c-9555-a43d8a841dd8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2a33b393-5668-4afe-8d9d-919da33e90cb",
      "EndDate": "2026-07-22T05:39:15.6265656+00:00",
      "StartDate": "2026-07-22T05:39:15.6265656+00:00",
      "SchedulePreferenceDate": "2026-07-22T05:39:15.6265656+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-07-22T05:39:15.6265656+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b6d5077e-275f-4204-a9d3-f0ae5c9ec3fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6f8fd2c0-d596-46d0-98eb-1a23ebc2a79c",
      "Sequence": 1,
      "AncestorCategoryId": "990918dc-62e1-4597-bfb1-9085e4b6bc62",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "b6d5077e-275f-4204-a9d3-f0ae5c9ec3fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6f8fd2c0-d596-46d0-98eb-1a23ebc2a79c",
      "Sequence": 1,
      "AncestorCategoryId": "990918dc-62e1-4597-bfb1-9085e4b6bc62",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "c3a4da1f-126c-452b-9ce6-cc0896bc0b4a",
          "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": "ffa19153-9039-4f6c-968d-8d1b53b18c79",
    "CategoryId": "f9052273-014c-4934-92e1-b1cb4bb5d5c6",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8789cf2d-b641-4d2d-ae36-1e3d09a0e21b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8789cf2d-b641-4d2d-ae36-1e3d09a0e21b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "59ed4cb6-5c60-4075-a09a-37c4a0255c78",
      "Questions": [
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        },
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "59ed4cb6-5c60-4075-a09a-37c4a0255c78",
      "Questions": [
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        },
        {
          "Id": "1c766edc-6f09-493c-b80e-c023dfd6e4b3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "332722ed-a058-4183-a8a2-67cf067f0eb7",
      "ContentItemId": "c4d3d75c-22c2-4800-907a-36c7744b01e0",
      "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-07-22T05:39:15.6265656+00:00",
      "RescheduleDate": "2026-07-22T05:39:15.6265656+00:00"
    },
    {
      "Id": "332722ed-a058-4183-a8a2-67cf067f0eb7",
      "ContentItemId": "c4d3d75c-22c2-4800-907a-36c7744b01e0",
      "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-07-22T05:39:15.6265656+00:00",
      "RescheduleDate": "2026-07-22T05:39:15.6265656+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}