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": "640f527d-70b3-4168-bf63-3d8f0c7b31b1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-07T21:53:12.4410758+00:00",
  "Registration": [
    {
      "Id": "2ef16166-a94f-418d-b8a6-3efa2f5d0841",
      "UserId": "1cb465bd-d7d5-494b-aa93-4538fee11580",
      "IsCurrent": true,
      "CenterId": "4b94ce14-de02-4e62-9366-e470ac0f0814",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bf0a7409-bd5f-46da-b869-5b66ecf1d5c7",
      "EndDate": "2026-09-07T21:53:12.4410758+00:00",
      "StartDate": "2026-09-07T21:53:12.4410758+00:00",
      "SchedulePreferenceDate": "2026-09-07T21:53:12.4410758+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": "2ef16166-a94f-418d-b8a6-3efa2f5d0841",
      "UserId": "1cb465bd-d7d5-494b-aa93-4538fee11580",
      "IsCurrent": true,
      "CenterId": "4b94ce14-de02-4e62-9366-e470ac0f0814",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bf0a7409-bd5f-46da-b869-5b66ecf1d5c7",
      "EndDate": "2026-09-07T21:53:12.4410758+00:00",
      "StartDate": "2026-09-07T21:53:12.4410758+00:00",
      "SchedulePreferenceDate": "2026-09-07T21:53:12.4410758+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-09-07T21:53:12.4410758+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8e960dc5-9a96-4708-8c72-d0ea621ab519",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "afa8495e-4b43-4b92-bd2a-3a707c7da9d1",
      "Sequence": 1,
      "AncestorCategoryId": "f97d0c76-fa61-46e3-b7df-e6d11436102b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "8e960dc5-9a96-4708-8c72-d0ea621ab519",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "afa8495e-4b43-4b92-bd2a-3a707c7da9d1",
      "Sequence": 1,
      "AncestorCategoryId": "f97d0c76-fa61-46e3-b7df-e6d11436102b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "3792dcba-382a-4d02-8d38-12deff630d33",
    "CategoryId": "569203f0-64dc-41e4-a224-c020cd3ae1ac",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "694dedf1-caad-4082-a5fd-9be30c515493",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "694dedf1-caad-4082-a5fd-9be30c515493",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "dce73cf0-8036-4dcf-aae6-3711f21abf62",
      "Questions": [
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        },
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "dce73cf0-8036-4dcf-aae6-3711f21abf62",
      "Questions": [
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        },
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4ae7aa43-8fe7-483c-b549-a146a08a15a2",
      "ContentItemId": "58a22ad3-f777-40e9-96da-175c67e5b136",
      "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-09-07T21:53:12.4410758+00:00",
      "RescheduleDate": "2026-09-07T21:53:12.4410758+00:00"
    },
    {
      "Id": "4ae7aa43-8fe7-483c-b549-a146a08a15a2",
      "ContentItemId": "58a22ad3-f777-40e9-96da-175c67e5b136",
      "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-09-07T21:53:12.4410758+00:00",
      "RescheduleDate": "2026-09-07T21:53:12.4410758+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": "640f527d-70b3-4168-bf63-3d8f0c7b31b1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-07T21:53:12.4723267+00:00",
  "Registration": [
    {
      "Id": "2ef16166-a94f-418d-b8a6-3efa2f5d0841",
      "UserId": "1cb465bd-d7d5-494b-aa93-4538fee11580",
      "IsCurrent": true,
      "CenterId": "4b94ce14-de02-4e62-9366-e470ac0f0814",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bf0a7409-bd5f-46da-b869-5b66ecf1d5c7",
      "EndDate": "2026-09-07T21:53:12.4410758+00:00",
      "StartDate": "2026-09-07T21:53:12.4410758+00:00",
      "SchedulePreferenceDate": "2026-09-07T21:53:12.4410758+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": "2ef16166-a94f-418d-b8a6-3efa2f5d0841",
      "UserId": "1cb465bd-d7d5-494b-aa93-4538fee11580",
      "IsCurrent": true,
      "CenterId": "4b94ce14-de02-4e62-9366-e470ac0f0814",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bf0a7409-bd5f-46da-b869-5b66ecf1d5c7",
      "EndDate": "2026-09-07T21:53:12.4410758+00:00",
      "StartDate": "2026-09-07T21:53:12.4410758+00:00",
      "SchedulePreferenceDate": "2026-09-07T21:53:12.4410758+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-09-07T21:53:12.4410758+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8e960dc5-9a96-4708-8c72-d0ea621ab519",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "afa8495e-4b43-4b92-bd2a-3a707c7da9d1",
      "Sequence": 1,
      "AncestorCategoryId": "f97d0c76-fa61-46e3-b7df-e6d11436102b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "8e960dc5-9a96-4708-8c72-d0ea621ab519",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "afa8495e-4b43-4b92-bd2a-3a707c7da9d1",
      "Sequence": 1,
      "AncestorCategoryId": "f97d0c76-fa61-46e3-b7df-e6d11436102b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "d8d4ab8e-c6d1-4f13-99cd-d9dd6a5f4afa",
          "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": "3792dcba-382a-4d02-8d38-12deff630d33",
    "CategoryId": "569203f0-64dc-41e4-a224-c020cd3ae1ac",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "694dedf1-caad-4082-a5fd-9be30c515493",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "694dedf1-caad-4082-a5fd-9be30c515493",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "dce73cf0-8036-4dcf-aae6-3711f21abf62",
      "Questions": [
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        },
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "dce73cf0-8036-4dcf-aae6-3711f21abf62",
      "Questions": [
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        },
        {
          "Id": "df89bc16-436b-4929-81a2-c7df9cfc8533",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4ae7aa43-8fe7-483c-b549-a146a08a15a2",
      "ContentItemId": "58a22ad3-f777-40e9-96da-175c67e5b136",
      "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-09-07T21:53:12.4410758+00:00",
      "RescheduleDate": "2026-09-07T21:53:12.4410758+00:00"
    },
    {
      "Id": "4ae7aa43-8fe7-483c-b549-a146a08a15a2",
      "ContentItemId": "58a22ad3-f777-40e9-96da-175c67e5b136",
      "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-09-07T21:53:12.4410758+00:00",
      "RescheduleDate": "2026-09-07T21:53:12.4410758+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}