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": "5bf7a1d0-cda3-4542-b8ad-b609de19cfa9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-03T14:11:58.8493672+00:00",
  "Registration": [
    {
      "Id": "c59d1e5c-8e22-4522-bb0d-028c8e779860",
      "UserId": "ff4b2fb9-80b4-49bc-8689-4aa40f085263",
      "IsCurrent": true,
      "CenterId": "44683cf1-652e-4f19-a6cf-eae43f805d99",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "02a5bd6c-46a7-4410-b714-3693c15014b6",
      "EndDate": "2026-07-03T14:11:58.8493672+00:00",
      "StartDate": "2026-07-03T14:11:58.8493672+00:00",
      "SchedulePreferenceDate": "2026-07-03T14:11:58.8493672+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": "c59d1e5c-8e22-4522-bb0d-028c8e779860",
      "UserId": "ff4b2fb9-80b4-49bc-8689-4aa40f085263",
      "IsCurrent": true,
      "CenterId": "44683cf1-652e-4f19-a6cf-eae43f805d99",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "02a5bd6c-46a7-4410-b714-3693c15014b6",
      "EndDate": "2026-07-03T14:11:58.8493672+00:00",
      "StartDate": "2026-07-03T14:11:58.8493672+00:00",
      "SchedulePreferenceDate": "2026-07-03T14:11:58.8493672+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-03T14:11:58.8493672+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "584a4110-baf0-4fcf-a5ad-2bf3b85b7e48",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7c0c22be-730e-49a5-a951-57142a8cd18e",
      "Sequence": 1,
      "AncestorCategoryId": "7ed6e908-07d0-48d5-9776-01aed4d7ab82",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "584a4110-baf0-4fcf-a5ad-2bf3b85b7e48",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7c0c22be-730e-49a5-a951-57142a8cd18e",
      "Sequence": 1,
      "AncestorCategoryId": "7ed6e908-07d0-48d5-9776-01aed4d7ab82",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "c20371cb-b87e-4270-bbec-2d0e82fba92d",
    "CategoryId": "b51f9b55-78ea-4764-b33a-7bd378e58069",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d3ba5687-a264-481c-a78d-1edb477b7d16",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d3ba5687-a264-481c-a78d-1edb477b7d16",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "83379a9f-dddd-4887-8c85-75b4df4fa411",
      "Questions": [
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "83379a9f-dddd-4887-8c85-75b4df4fa411",
      "Questions": [
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "81e356bc-dc3b-4f9d-b3fa-b92af12b1528",
      "ContentItemId": "8bd571b0-a448-4609-a49b-138525f35477",
      "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-03T14:11:58.8493672+00:00",
      "RescheduleDate": "2026-07-03T14:11:58.8493672+00:00"
    },
    {
      "Id": "81e356bc-dc3b-4f9d-b3fa-b92af12b1528",
      "ContentItemId": "8bd571b0-a448-4609-a49b-138525f35477",
      "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-03T14:11:58.8493672+00:00",
      "RescheduleDate": "2026-07-03T14:11:58.8493672+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": "5bf7a1d0-cda3-4542-b8ad-b609de19cfa9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-03T14:11:58.8649935+00:00",
  "Registration": [
    {
      "Id": "c59d1e5c-8e22-4522-bb0d-028c8e779860",
      "UserId": "ff4b2fb9-80b4-49bc-8689-4aa40f085263",
      "IsCurrent": true,
      "CenterId": "44683cf1-652e-4f19-a6cf-eae43f805d99",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "02a5bd6c-46a7-4410-b714-3693c15014b6",
      "EndDate": "2026-07-03T14:11:58.8493672+00:00",
      "StartDate": "2026-07-03T14:11:58.8493672+00:00",
      "SchedulePreferenceDate": "2026-07-03T14:11:58.8493672+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": "c59d1e5c-8e22-4522-bb0d-028c8e779860",
      "UserId": "ff4b2fb9-80b4-49bc-8689-4aa40f085263",
      "IsCurrent": true,
      "CenterId": "44683cf1-652e-4f19-a6cf-eae43f805d99",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "02a5bd6c-46a7-4410-b714-3693c15014b6",
      "EndDate": "2026-07-03T14:11:58.8493672+00:00",
      "StartDate": "2026-07-03T14:11:58.8493672+00:00",
      "SchedulePreferenceDate": "2026-07-03T14:11:58.8493672+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-03T14:11:58.8493672+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "584a4110-baf0-4fcf-a5ad-2bf3b85b7e48",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7c0c22be-730e-49a5-a951-57142a8cd18e",
      "Sequence": 1,
      "AncestorCategoryId": "7ed6e908-07d0-48d5-9776-01aed4d7ab82",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "584a4110-baf0-4fcf-a5ad-2bf3b85b7e48",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7c0c22be-730e-49a5-a951-57142a8cd18e",
      "Sequence": 1,
      "AncestorCategoryId": "7ed6e908-07d0-48d5-9776-01aed4d7ab82",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "00afca6f-04bd-4771-9725-cab3425b28cc",
          "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": "c20371cb-b87e-4270-bbec-2d0e82fba92d",
    "CategoryId": "b51f9b55-78ea-4764-b33a-7bd378e58069",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d3ba5687-a264-481c-a78d-1edb477b7d16",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d3ba5687-a264-481c-a78d-1edb477b7d16",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "83379a9f-dddd-4887-8c85-75b4df4fa411",
      "Questions": [
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "83379a9f-dddd-4887-8c85-75b4df4fa411",
      "Questions": [
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc00c4d9-5b7d-4388-bb54-f5a0da2e593b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "81e356bc-dc3b-4f9d-b3fa-b92af12b1528",
      "ContentItemId": "8bd571b0-a448-4609-a49b-138525f35477",
      "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-03T14:11:58.8493672+00:00",
      "RescheduleDate": "2026-07-03T14:11:58.8493672+00:00"
    },
    {
      "Id": "81e356bc-dc3b-4f9d-b3fa-b92af12b1528",
      "ContentItemId": "8bd571b0-a448-4609-a49b-138525f35477",
      "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-03T14:11:58.8493672+00:00",
      "RescheduleDate": "2026-07-03T14:11:58.8493672+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}