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": "49834f80-e6f1-4469-a7d0-0248ca3cbb95",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-17T20:55:06.303473+00:00",
  "Registration": [
    {
      "Id": "6729c6f9-92a1-4772-921f-82cadf01dff5",
      "UserId": "67972870-124e-4a17-8e4f-120f66e3f89c",
      "IsCurrent": true,
      "CenterId": "c2ed8d01-c3dd-4ac2-beb9-151498d55779",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d58503a0-987a-4711-b523-e35053b0a110",
      "EndDate": "2026-04-17T20:55:06.303473+00:00",
      "StartDate": "2026-04-17T20:55:06.303473+00:00",
      "SchedulePreferenceDate": "2026-04-17T20:55:06.303473+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": "6729c6f9-92a1-4772-921f-82cadf01dff5",
      "UserId": "67972870-124e-4a17-8e4f-120f66e3f89c",
      "IsCurrent": true,
      "CenterId": "c2ed8d01-c3dd-4ac2-beb9-151498d55779",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d58503a0-987a-4711-b523-e35053b0a110",
      "EndDate": "2026-04-17T20:55:06.303473+00:00",
      "StartDate": "2026-04-17T20:55:06.303473+00:00",
      "SchedulePreferenceDate": "2026-04-17T20:55:06.303473+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-04-17T20:55:06.303473+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "03d745e4-cb03-4ac8-8a8f-3ff18141ccac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6b43f80d-0b2b-4d75-8a37-8223c281399b",
      "Sequence": 1,
      "AncestorCategoryId": "2fcd6da4-f5eb-435c-894c-adaaa7f78e76",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "03d745e4-cb03-4ac8-8a8f-3ff18141ccac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6b43f80d-0b2b-4d75-8a37-8223c281399b",
      "Sequence": 1,
      "AncestorCategoryId": "2fcd6da4-f5eb-435c-894c-adaaa7f78e76",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "6a1928a0-ca19-4ba9-86c6-22d301d5d19b",
    "CategoryId": "5fdeb91e-1767-4471-8aa9-dadfefd4c6cc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a68e3a32-deec-4935-8f89-5ba87c3cfcb2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a68e3a32-deec-4935-8f89-5ba87c3cfcb2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b2f93eac-f6db-4b59-ab11-2ff3845e10ba",
      "Questions": [
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        },
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b2f93eac-f6db-4b59-ab11-2ff3845e10ba",
      "Questions": [
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        },
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "60d57b94-4bfa-4a71-969e-363c9b4cf852",
      "ContentItemId": "88c1836a-447f-4be4-b76b-7c3ad5db25d3",
      "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-04-17T20:55:06.303473+00:00",
      "RescheduleDate": "2026-04-17T20:55:06.303473+00:00"
    },
    {
      "Id": "60d57b94-4bfa-4a71-969e-363c9b4cf852",
      "ContentItemId": "88c1836a-447f-4be4-b76b-7c3ad5db25d3",
      "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-04-17T20:55:06.303473+00:00",
      "RescheduleDate": "2026-04-17T20:55:06.303473+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": "49834f80-e6f1-4469-a7d0-0248ca3cbb95",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-17T20:55:06.3503589+00:00",
  "Registration": [
    {
      "Id": "6729c6f9-92a1-4772-921f-82cadf01dff5",
      "UserId": "67972870-124e-4a17-8e4f-120f66e3f89c",
      "IsCurrent": true,
      "CenterId": "c2ed8d01-c3dd-4ac2-beb9-151498d55779",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d58503a0-987a-4711-b523-e35053b0a110",
      "EndDate": "2026-04-17T20:55:06.303473+00:00",
      "StartDate": "2026-04-17T20:55:06.303473+00:00",
      "SchedulePreferenceDate": "2026-04-17T20:55:06.303473+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": "6729c6f9-92a1-4772-921f-82cadf01dff5",
      "UserId": "67972870-124e-4a17-8e4f-120f66e3f89c",
      "IsCurrent": true,
      "CenterId": "c2ed8d01-c3dd-4ac2-beb9-151498d55779",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d58503a0-987a-4711-b523-e35053b0a110",
      "EndDate": "2026-04-17T20:55:06.303473+00:00",
      "StartDate": "2026-04-17T20:55:06.303473+00:00",
      "SchedulePreferenceDate": "2026-04-17T20:55:06.303473+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-04-17T20:55:06.303473+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "03d745e4-cb03-4ac8-8a8f-3ff18141ccac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6b43f80d-0b2b-4d75-8a37-8223c281399b",
      "Sequence": 1,
      "AncestorCategoryId": "2fcd6da4-f5eb-435c-894c-adaaa7f78e76",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "03d745e4-cb03-4ac8-8a8f-3ff18141ccac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6b43f80d-0b2b-4d75-8a37-8223c281399b",
      "Sequence": 1,
      "AncestorCategoryId": "2fcd6da4-f5eb-435c-894c-adaaa7f78e76",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "bad24d0d-8570-4c72-bcbd-19f02bbac9c9",
          "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": "6a1928a0-ca19-4ba9-86c6-22d301d5d19b",
    "CategoryId": "5fdeb91e-1767-4471-8aa9-dadfefd4c6cc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a68e3a32-deec-4935-8f89-5ba87c3cfcb2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a68e3a32-deec-4935-8f89-5ba87c3cfcb2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b2f93eac-f6db-4b59-ab11-2ff3845e10ba",
      "Questions": [
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        },
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b2f93eac-f6db-4b59-ab11-2ff3845e10ba",
      "Questions": [
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        },
        {
          "Id": "855e8b2d-4738-4b5b-a53a-aea65d9d20c3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "60d57b94-4bfa-4a71-969e-363c9b4cf852",
      "ContentItemId": "88c1836a-447f-4be4-b76b-7c3ad5db25d3",
      "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-04-17T20:55:06.303473+00:00",
      "RescheduleDate": "2026-04-17T20:55:06.303473+00:00"
    },
    {
      "Id": "60d57b94-4bfa-4a71-969e-363c9b4cf852",
      "ContentItemId": "88c1836a-447f-4be4-b76b-7c3ad5db25d3",
      "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-04-17T20:55:06.303473+00:00",
      "RescheduleDate": "2026-04-17T20:55:06.303473+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}