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": "38ac9de0-37f7-4131-955a-f1d3da6f2f1d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-06T06:43:08.2765879+00:00",
  "Registration": [
    {
      "Id": "58922b4d-d7d0-4456-8b91-ae1a4fe51782",
      "UserId": "733b9818-f252-49a3-aef1-9ac2e1363d22",
      "IsCurrent": true,
      "CenterId": "0b8f8409-ff41-4b4e-93ea-624b4a4747e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2948ec9d-f27c-4aca-a617-11f1962171e3",
      "EndDate": "2026-02-06T06:43:08.2765879+00:00",
      "StartDate": "2026-02-06T06:43:08.2765879+00:00",
      "SchedulePreferenceDate": "2026-02-06T06:43:08.2765879+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": "58922b4d-d7d0-4456-8b91-ae1a4fe51782",
      "UserId": "733b9818-f252-49a3-aef1-9ac2e1363d22",
      "IsCurrent": true,
      "CenterId": "0b8f8409-ff41-4b4e-93ea-624b4a4747e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2948ec9d-f27c-4aca-a617-11f1962171e3",
      "EndDate": "2026-02-06T06:43:08.2765879+00:00",
      "StartDate": "2026-02-06T06:43:08.2765879+00:00",
      "SchedulePreferenceDate": "2026-02-06T06:43:08.2765879+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-02-06T06:43:08.2765879+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b74583aa-f2f9-4021-bb51-12b9e09f00fa",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ccf2641a-9378-4685-b6b9-6487f533c661",
      "Sequence": 1,
      "AncestorCategoryId": "430d2db3-0238-49ff-b5fb-301ebf9a5b2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "b74583aa-f2f9-4021-bb51-12b9e09f00fa",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ccf2641a-9378-4685-b6b9-6487f533c661",
      "Sequence": 1,
      "AncestorCategoryId": "430d2db3-0238-49ff-b5fb-301ebf9a5b2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "e5e7fd4a-df15-48d3-aa6b-a48eac42dc6c",
    "CategoryId": "a47b2114-8017-4eb7-9372-0097d33c9c3e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ce363ae5-9588-42d0-bffe-39fe386c7a5b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ce363ae5-9588-42d0-bffe-39fe386c7a5b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fba98af0-fdbe-4c72-8c47-01d371783049",
      "Questions": [
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        },
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fba98af0-fdbe-4c72-8c47-01d371783049",
      "Questions": [
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        },
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "9478b25e-f04d-41cb-bb17-451a17fa55d7",
      "ContentItemId": "a65f76c7-54bf-4eea-9141-995e3bb3275d",
      "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-02-06T06:43:08.2765879+00:00",
      "RescheduleDate": "2026-02-06T06:43:08.2765879+00:00"
    },
    {
      "Id": "9478b25e-f04d-41cb-bb17-451a17fa55d7",
      "ContentItemId": "a65f76c7-54bf-4eea-9141-995e3bb3275d",
      "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-02-06T06:43:08.2765879+00:00",
      "RescheduleDate": "2026-02-06T06:43:08.2765879+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": "38ac9de0-37f7-4131-955a-f1d3da6f2f1d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-06T06:43:08.3234631+00:00",
  "Registration": [
    {
      "Id": "58922b4d-d7d0-4456-8b91-ae1a4fe51782",
      "UserId": "733b9818-f252-49a3-aef1-9ac2e1363d22",
      "IsCurrent": true,
      "CenterId": "0b8f8409-ff41-4b4e-93ea-624b4a4747e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2948ec9d-f27c-4aca-a617-11f1962171e3",
      "EndDate": "2026-02-06T06:43:08.2765879+00:00",
      "StartDate": "2026-02-06T06:43:08.2765879+00:00",
      "SchedulePreferenceDate": "2026-02-06T06:43:08.2765879+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": "58922b4d-d7d0-4456-8b91-ae1a4fe51782",
      "UserId": "733b9818-f252-49a3-aef1-9ac2e1363d22",
      "IsCurrent": true,
      "CenterId": "0b8f8409-ff41-4b4e-93ea-624b4a4747e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "2948ec9d-f27c-4aca-a617-11f1962171e3",
      "EndDate": "2026-02-06T06:43:08.2765879+00:00",
      "StartDate": "2026-02-06T06:43:08.2765879+00:00",
      "SchedulePreferenceDate": "2026-02-06T06:43:08.2765879+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-02-06T06:43:08.2765879+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b74583aa-f2f9-4021-bb51-12b9e09f00fa",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ccf2641a-9378-4685-b6b9-6487f533c661",
      "Sequence": 1,
      "AncestorCategoryId": "430d2db3-0238-49ff-b5fb-301ebf9a5b2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "b74583aa-f2f9-4021-bb51-12b9e09f00fa",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ccf2641a-9378-4685-b6b9-6487f533c661",
      "Sequence": 1,
      "AncestorCategoryId": "430d2db3-0238-49ff-b5fb-301ebf9a5b2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "3b162855-ea69-4497-880d-ee665ff58d9b",
          "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": "e5e7fd4a-df15-48d3-aa6b-a48eac42dc6c",
    "CategoryId": "a47b2114-8017-4eb7-9372-0097d33c9c3e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ce363ae5-9588-42d0-bffe-39fe386c7a5b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ce363ae5-9588-42d0-bffe-39fe386c7a5b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fba98af0-fdbe-4c72-8c47-01d371783049",
      "Questions": [
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        },
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fba98af0-fdbe-4c72-8c47-01d371783049",
      "Questions": [
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        },
        {
          "Id": "edaae67e-81ed-4dd5-b9e2-b618b4601b91",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "9478b25e-f04d-41cb-bb17-451a17fa55d7",
      "ContentItemId": "a65f76c7-54bf-4eea-9141-995e3bb3275d",
      "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-02-06T06:43:08.2765879+00:00",
      "RescheduleDate": "2026-02-06T06:43:08.2765879+00:00"
    },
    {
      "Id": "9478b25e-f04d-41cb-bb17-451a17fa55d7",
      "ContentItemId": "a65f76c7-54bf-4eea-9141-995e3bb3275d",
      "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-02-06T06:43:08.2765879+00:00",
      "RescheduleDate": "2026-02-06T06:43:08.2765879+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}