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": "d4308984-d9fe-4fdc-ab82-9bdf0e6b327f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-09T13:44:26.2941893+00:00",
  "Registration": [
    {
      "Id": "403a485c-98ed-4b81-bd3d-9c1bc2bf1d3f",
      "UserId": "579b914a-2e12-4955-be35-b4cb7d5ea365",
      "IsCurrent": true,
      "CenterId": "06c332ff-1a40-4a7f-ad88-85b5a1cdf489",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "669ab9b3-03f0-4221-ae0a-c2f50bc2db91",
      "EndDate": "2026-02-09T13:44:26.278566+00:00",
      "StartDate": "2026-02-09T13:44:26.278566+00:00",
      "SchedulePreferenceDate": "2026-02-09T13:44:26.278566+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": "403a485c-98ed-4b81-bd3d-9c1bc2bf1d3f",
      "UserId": "579b914a-2e12-4955-be35-b4cb7d5ea365",
      "IsCurrent": true,
      "CenterId": "06c332ff-1a40-4a7f-ad88-85b5a1cdf489",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "669ab9b3-03f0-4221-ae0a-c2f50bc2db91",
      "EndDate": "2026-02-09T13:44:26.278566+00:00",
      "StartDate": "2026-02-09T13:44:26.278566+00:00",
      "SchedulePreferenceDate": "2026-02-09T13:44:26.278566+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-02-09T13:44:26.278566+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2509faa9-99d6-4126-b7ab-c9f47abb14c7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2262bafc-6672-4112-b5c8-1955f561bdd7",
      "Sequence": 1,
      "AncestorCategoryId": "3478de46-fa71-45c2-bc2e-98c9f191f552",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "2509faa9-99d6-4126-b7ab-c9f47abb14c7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2262bafc-6672-4112-b5c8-1955f561bdd7",
      "Sequence": 1,
      "AncestorCategoryId": "3478de46-fa71-45c2-bc2e-98c9f191f552",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "ad079dde-c23d-446e-8862-cc7776d515fb",
    "CategoryId": "b5249dcc-ab0c-4ec8-bdb2-e5b82725e9e3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3a474eeb-ddd4-4702-a2a1-8a277b9cd8d8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3a474eeb-ddd4-4702-a2a1-8a277b9cd8d8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "67fafdb2-295c-46fc-8d7b-2d08f6915a5f",
      "Questions": [
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        },
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "67fafdb2-295c-46fc-8d7b-2d08f6915a5f",
      "Questions": [
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        },
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "326e5cd3-43b7-49fa-bda5-380dcc56460a",
      "ContentItemId": "8f1fa3f8-cc06-40fb-905e-0f6b6cbff6ec",
      "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-02-09T13:44:26.278566+00:00",
      "RescheduleDate": "2026-02-09T13:44:26.278566+00:00"
    },
    {
      "Id": "326e5cd3-43b7-49fa-bda5-380dcc56460a",
      "ContentItemId": "8f1fa3f8-cc06-40fb-905e-0f6b6cbff6ec",
      "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-02-09T13:44:26.278566+00:00",
      "RescheduleDate": "2026-02-09T13:44:26.278566+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": "d4308984-d9fe-4fdc-ab82-9bdf0e6b327f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-09T13:44:26.3410641+00:00",
  "Registration": [
    {
      "Id": "403a485c-98ed-4b81-bd3d-9c1bc2bf1d3f",
      "UserId": "579b914a-2e12-4955-be35-b4cb7d5ea365",
      "IsCurrent": true,
      "CenterId": "06c332ff-1a40-4a7f-ad88-85b5a1cdf489",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "669ab9b3-03f0-4221-ae0a-c2f50bc2db91",
      "EndDate": "2026-02-09T13:44:26.278566+00:00",
      "StartDate": "2026-02-09T13:44:26.278566+00:00",
      "SchedulePreferenceDate": "2026-02-09T13:44:26.278566+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": "403a485c-98ed-4b81-bd3d-9c1bc2bf1d3f",
      "UserId": "579b914a-2e12-4955-be35-b4cb7d5ea365",
      "IsCurrent": true,
      "CenterId": "06c332ff-1a40-4a7f-ad88-85b5a1cdf489",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "669ab9b3-03f0-4221-ae0a-c2f50bc2db91",
      "EndDate": "2026-02-09T13:44:26.278566+00:00",
      "StartDate": "2026-02-09T13:44:26.278566+00:00",
      "SchedulePreferenceDate": "2026-02-09T13:44:26.278566+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-02-09T13:44:26.278566+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2509faa9-99d6-4126-b7ab-c9f47abb14c7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2262bafc-6672-4112-b5c8-1955f561bdd7",
      "Sequence": 1,
      "AncestorCategoryId": "3478de46-fa71-45c2-bc2e-98c9f191f552",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "2509faa9-99d6-4126-b7ab-c9f47abb14c7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2262bafc-6672-4112-b5c8-1955f561bdd7",
      "Sequence": 1,
      "AncestorCategoryId": "3478de46-fa71-45c2-bc2e-98c9f191f552",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "edefc941-3edf-4149-98a2-fc4feecd8512",
          "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": "ad079dde-c23d-446e-8862-cc7776d515fb",
    "CategoryId": "b5249dcc-ab0c-4ec8-bdb2-e5b82725e9e3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3a474eeb-ddd4-4702-a2a1-8a277b9cd8d8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3a474eeb-ddd4-4702-a2a1-8a277b9cd8d8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "67fafdb2-295c-46fc-8d7b-2d08f6915a5f",
      "Questions": [
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        },
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "67fafdb2-295c-46fc-8d7b-2d08f6915a5f",
      "Questions": [
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        },
        {
          "Id": "0a508d04-f50a-494a-b463-4644ec6c6906",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "326e5cd3-43b7-49fa-bda5-380dcc56460a",
      "ContentItemId": "8f1fa3f8-cc06-40fb-905e-0f6b6cbff6ec",
      "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-02-09T13:44:26.278566+00:00",
      "RescheduleDate": "2026-02-09T13:44:26.278566+00:00"
    },
    {
      "Id": "326e5cd3-43b7-49fa-bda5-380dcc56460a",
      "ContentItemId": "8f1fa3f8-cc06-40fb-905e-0f6b6cbff6ec",
      "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-02-09T13:44:26.278566+00:00",
      "RescheduleDate": "2026-02-09T13:44:26.278566+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}