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": "bb2ab03b-fad8-4209-816e-e3fa341644d1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-12T12:30:40.1195752+00:00",
  "Registration": [
    {
      "Id": "5679e7a6-e6a4-49c4-99df-fef4729c6cb8",
      "UserId": "0d40697a-92d1-4649-82e3-2697aa3c4f0d",
      "IsCurrent": true,
      "CenterId": "736712ab-1607-467a-b98b-bbce7c85e5a8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3fa5fe42-8343-45e0-af9d-fa820dd7a276",
      "EndDate": "2026-06-12T12:30:40.1039494+00:00",
      "StartDate": "2026-06-12T12:30:40.1039494+00:00",
      "SchedulePreferenceDate": "2026-06-12T12:30:40.1039494+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": "5679e7a6-e6a4-49c4-99df-fef4729c6cb8",
      "UserId": "0d40697a-92d1-4649-82e3-2697aa3c4f0d",
      "IsCurrent": true,
      "CenterId": "736712ab-1607-467a-b98b-bbce7c85e5a8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3fa5fe42-8343-45e0-af9d-fa820dd7a276",
      "EndDate": "2026-06-12T12:30:40.1039494+00:00",
      "StartDate": "2026-06-12T12:30:40.1039494+00:00",
      "SchedulePreferenceDate": "2026-06-12T12:30:40.1039494+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-06-12T12:30:40.1039494+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d4291b91-5e51-4c4f-9f4b-82b4eb579456",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "314eca96-1505-411c-b510-324597e80aff",
      "Sequence": 1,
      "AncestorCategoryId": "03345288-9cca-4699-9224-f1370d85cdd0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "d4291b91-5e51-4c4f-9f4b-82b4eb579456",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "314eca96-1505-411c-b510-324597e80aff",
      "Sequence": 1,
      "AncestorCategoryId": "03345288-9cca-4699-9224-f1370d85cdd0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "eca9f9a1-2c5d-4d80-9e69-988bae1907c5",
    "CategoryId": "c387c2d4-be0d-4a76-a9bc-5cf502ec829e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3147b482-0132-4cdf-8b3a-a22828445d24",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3147b482-0132-4cdf-8b3a-a22828445d24",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "33eb60d0-bc9b-4fe2-abd5-fee100b2e01e",
      "Questions": [
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "33eb60d0-bc9b-4fe2-abd5-fee100b2e01e",
      "Questions": [
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ba877e26-40a5-44aa-afdd-af9caf30f67b",
      "ContentItemId": "e7488f29-0001-4095-99ad-569769c6d3aa",
      "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-06-12T12:30:40.1039494+00:00",
      "RescheduleDate": "2026-06-12T12:30:40.1039494+00:00"
    },
    {
      "Id": "ba877e26-40a5-44aa-afdd-af9caf30f67b",
      "ContentItemId": "e7488f29-0001-4095-99ad-569769c6d3aa",
      "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-06-12T12:30:40.1039494+00:00",
      "RescheduleDate": "2026-06-12T12:30:40.1039494+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": "bb2ab03b-fad8-4209-816e-e3fa341644d1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-12T12:30:40.1352017+00:00",
  "Registration": [
    {
      "Id": "5679e7a6-e6a4-49c4-99df-fef4729c6cb8",
      "UserId": "0d40697a-92d1-4649-82e3-2697aa3c4f0d",
      "IsCurrent": true,
      "CenterId": "736712ab-1607-467a-b98b-bbce7c85e5a8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3fa5fe42-8343-45e0-af9d-fa820dd7a276",
      "EndDate": "2026-06-12T12:30:40.1039494+00:00",
      "StartDate": "2026-06-12T12:30:40.1039494+00:00",
      "SchedulePreferenceDate": "2026-06-12T12:30:40.1039494+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": "5679e7a6-e6a4-49c4-99df-fef4729c6cb8",
      "UserId": "0d40697a-92d1-4649-82e3-2697aa3c4f0d",
      "IsCurrent": true,
      "CenterId": "736712ab-1607-467a-b98b-bbce7c85e5a8",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3fa5fe42-8343-45e0-af9d-fa820dd7a276",
      "EndDate": "2026-06-12T12:30:40.1039494+00:00",
      "StartDate": "2026-06-12T12:30:40.1039494+00:00",
      "SchedulePreferenceDate": "2026-06-12T12:30:40.1039494+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-06-12T12:30:40.1039494+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d4291b91-5e51-4c4f-9f4b-82b4eb579456",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "314eca96-1505-411c-b510-324597e80aff",
      "Sequence": 1,
      "AncestorCategoryId": "03345288-9cca-4699-9224-f1370d85cdd0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "d4291b91-5e51-4c4f-9f4b-82b4eb579456",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "314eca96-1505-411c-b510-324597e80aff",
      "Sequence": 1,
      "AncestorCategoryId": "03345288-9cca-4699-9224-f1370d85cdd0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "610da127-ee22-4cc6-9900-e292380b56a4",
          "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": "eca9f9a1-2c5d-4d80-9e69-988bae1907c5",
    "CategoryId": "c387c2d4-be0d-4a76-a9bc-5cf502ec829e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3147b482-0132-4cdf-8b3a-a22828445d24",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3147b482-0132-4cdf-8b3a-a22828445d24",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "33eb60d0-bc9b-4fe2-abd5-fee100b2e01e",
      "Questions": [
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "33eb60d0-bc9b-4fe2-abd5-fee100b2e01e",
      "Questions": [
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f0154b7e-0e65-4eed-88ec-2930134ea2a4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ba877e26-40a5-44aa-afdd-af9caf30f67b",
      "ContentItemId": "e7488f29-0001-4095-99ad-569769c6d3aa",
      "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-06-12T12:30:40.1039494+00:00",
      "RescheduleDate": "2026-06-12T12:30:40.1039494+00:00"
    },
    {
      "Id": "ba877e26-40a5-44aa-afdd-af9caf30f67b",
      "ContentItemId": "e7488f29-0001-4095-99ad-569769c6d3aa",
      "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-06-12T12:30:40.1039494+00:00",
      "RescheduleDate": "2026-06-12T12:30:40.1039494+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}