GET 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.Views.UserStateBackwardCompatibleViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

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.

Response Formats

application/json

Sample:
{
  "UserId": "9f498cdc-9353-4661-b138-f0b4131b89f5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-27T15:26:35.3791421+00:00",
  "Registration": {
    "Id": "e3ffad03-40eb-445a-befa-7a3e5a8019a0",
    "UserId": "285e25e4-53ec-4841-b65f-40c38db6b1dc",
    "IsCurrent": true,
    "CenterId": "ee6220af-3c57-4198-b618-5fb51997f177",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "60dde0d6-da8e-4a6b-8c57-d86f06fceb23",
    "EndDate": "2026-01-27T15:26:35.3791421+00:00",
    "StartDate": "2026-01-27T15:26:35.3791421+00:00",
    "SchedulePreferenceDate": "2026-01-27T15:26:35.3791421+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-01-27T15:26:35.3791421+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5da7e259-75c6-40a2-be5f-d2c8d40ec7b3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a92fe96d-1763-4161-b3af-dbf44e2db9f1",
      "Sequence": 1,
      "AncestorCategoryId": "f24a0a09-f9b0-4258-8032-eef5a197d922",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "5da7e259-75c6-40a2-be5f-d2c8d40ec7b3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a92fe96d-1763-4161-b3af-dbf44e2db9f1",
      "Sequence": 1,
      "AncestorCategoryId": "f24a0a09-f9b0-4258-8032-eef5a197d922",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "0786ed91-4768-473e-9b25-59388b7dbca2",
    "CategoryId": "728404ff-0d59-41b8-9a3e-a0bbc8afb5d1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ddbd356b-f472-423a-a382-f3577ed24769",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ddbd356b-f472-423a-a382-f3577ed24769",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d66f734a-d371-414c-b279-57fd1261fe5b",
      "Questions": [
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d66f734a-d371-414c-b279-57fd1261fe5b",
      "Questions": [
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1b91da69-3154-4d5f-87f7-444918d169b7",
      "ContentItemId": "2ad167f2-5e84-4718-8768-7a5b239a3bf8",
      "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-01-27T15:26:35.3791421+00:00",
      "RescheduleDate": "2026-01-27T15:26:35.3791421+00:00"
    },
    {
      "Id": "1b91da69-3154-4d5f-87f7-444918d169b7",
      "ContentItemId": "2ad167f2-5e84-4718-8768-7a5b239a3bf8",
      "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-01-27T15:26:35.3791421+00:00",
      "RescheduleDate": "2026-01-27T15:26:35.3791421+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "9f498cdc-9353-4661-b138-f0b4131b89f5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-27T15:26:35.4416422+00:00",
  "Registration": {
    "Id": "e3ffad03-40eb-445a-befa-7a3e5a8019a0",
    "UserId": "285e25e4-53ec-4841-b65f-40c38db6b1dc",
    "IsCurrent": true,
    "CenterId": "ee6220af-3c57-4198-b618-5fb51997f177",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "60dde0d6-da8e-4a6b-8c57-d86f06fceb23",
    "EndDate": "2026-01-27T15:26:35.3791421+00:00",
    "StartDate": "2026-01-27T15:26:35.3791421+00:00",
    "SchedulePreferenceDate": "2026-01-27T15:26:35.3791421+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-01-27T15:26:35.3791421+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5da7e259-75c6-40a2-be5f-d2c8d40ec7b3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a92fe96d-1763-4161-b3af-dbf44e2db9f1",
      "Sequence": 1,
      "AncestorCategoryId": "f24a0a09-f9b0-4258-8032-eef5a197d922",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "5da7e259-75c6-40a2-be5f-d2c8d40ec7b3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a92fe96d-1763-4161-b3af-dbf44e2db9f1",
      "Sequence": 1,
      "AncestorCategoryId": "f24a0a09-f9b0-4258-8032-eef5a197d922",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "c8f494a1-e039-440a-b92c-661fb1030931",
          "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": "0786ed91-4768-473e-9b25-59388b7dbca2",
    "CategoryId": "728404ff-0d59-41b8-9a3e-a0bbc8afb5d1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ddbd356b-f472-423a-a382-f3577ed24769",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ddbd356b-f472-423a-a382-f3577ed24769",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d66f734a-d371-414c-b279-57fd1261fe5b",
      "Questions": [
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d66f734a-d371-414c-b279-57fd1261fe5b",
      "Questions": [
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb221e97-f6d5-4b60-bfad-9f5e2501646f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1b91da69-3154-4d5f-87f7-444918d169b7",
      "ContentItemId": "2ad167f2-5e84-4718-8768-7a5b239a3bf8",
      "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-01-27T15:26:35.3791421+00:00",
      "RescheduleDate": "2026-01-27T15:26:35.3791421+00:00"
    },
    {
      "Id": "1b91da69-3154-4d5f-87f7-444918d169b7",
      "ContentItemId": "2ad167f2-5e84-4718-8768-7a5b239a3bf8",
      "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-01-27T15:26:35.3791421+00:00",
      "RescheduleDate": "2026-01-27T15:26:35.3791421+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}