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": "f0bc7814-f9a3-46be-9687-eca03526f4f1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-13T13:59:40.6902836+00:00",
  "Registration": [
    {
      "Id": "0b70aff1-577a-43c1-9a29-6130d1f25d9b",
      "UserId": "22b6a51b-85e6-4867-9af0-8aad66fdc4be",
      "IsCurrent": true,
      "CenterId": "a2b3844c-34d7-4c11-8146-5f795a533629",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bad5cf23-ee07-4ebc-a00b-efdc2c1ec421",
      "EndDate": "2026-10-13T13:59:40.6902836+00:00",
      "StartDate": "2026-10-13T13:59:40.6902836+00:00",
      "SchedulePreferenceDate": "2026-10-13T13:59:40.6902836+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": "0b70aff1-577a-43c1-9a29-6130d1f25d9b",
      "UserId": "22b6a51b-85e6-4867-9af0-8aad66fdc4be",
      "IsCurrent": true,
      "CenterId": "a2b3844c-34d7-4c11-8146-5f795a533629",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bad5cf23-ee07-4ebc-a00b-efdc2c1ec421",
      "EndDate": "2026-10-13T13:59:40.6902836+00:00",
      "StartDate": "2026-10-13T13:59:40.6902836+00:00",
      "SchedulePreferenceDate": "2026-10-13T13:59:40.6902836+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-10-13T13:59:40.6902836+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "537fafb6-1f99-44d1-b523-4c504dd43dcb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5a803693-04e0-463f-928f-09851cad5ee7",
      "Sequence": 1,
      "AncestorCategoryId": "8860c2e3-d172-4115-a99e-d3792e1211e5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "537fafb6-1f99-44d1-b523-4c504dd43dcb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5a803693-04e0-463f-928f-09851cad5ee7",
      "Sequence": 1,
      "AncestorCategoryId": "8860c2e3-d172-4115-a99e-d3792e1211e5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "7f4802a9-7c9f-4a1d-9dd3-40eb186e9320",
    "CategoryId": "3119f147-f970-4c53-90e1-2a37bd447c4e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b87c2ad8-1aec-448d-87fa-e260fcb1207a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b87c2ad8-1aec-448d-87fa-e260fcb1207a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b0071eeb-2928-4a9b-84af-675702ded6a2",
      "Questions": [
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        },
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b0071eeb-2928-4a9b-84af-675702ded6a2",
      "Questions": [
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        },
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cf3065e5-dc7e-4684-88fb-8c5c8cd917a7",
      "ContentItemId": "7a9330f9-431e-4e8d-b341-438bc478c43d",
      "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-10-13T13:59:40.6902836+00:00",
      "RescheduleDate": "2026-10-13T13:59:40.6902836+00:00"
    },
    {
      "Id": "cf3065e5-dc7e-4684-88fb-8c5c8cd917a7",
      "ContentItemId": "7a9330f9-431e-4e8d-b341-438bc478c43d",
      "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-10-13T13:59:40.6902836+00:00",
      "RescheduleDate": "2026-10-13T13:59:40.6902836+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": "f0bc7814-f9a3-46be-9687-eca03526f4f1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-13T13:59:40.7059027+00:00",
  "Registration": [
    {
      "Id": "0b70aff1-577a-43c1-9a29-6130d1f25d9b",
      "UserId": "22b6a51b-85e6-4867-9af0-8aad66fdc4be",
      "IsCurrent": true,
      "CenterId": "a2b3844c-34d7-4c11-8146-5f795a533629",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bad5cf23-ee07-4ebc-a00b-efdc2c1ec421",
      "EndDate": "2026-10-13T13:59:40.6902836+00:00",
      "StartDate": "2026-10-13T13:59:40.6902836+00:00",
      "SchedulePreferenceDate": "2026-10-13T13:59:40.6902836+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": "0b70aff1-577a-43c1-9a29-6130d1f25d9b",
      "UserId": "22b6a51b-85e6-4867-9af0-8aad66fdc4be",
      "IsCurrent": true,
      "CenterId": "a2b3844c-34d7-4c11-8146-5f795a533629",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bad5cf23-ee07-4ebc-a00b-efdc2c1ec421",
      "EndDate": "2026-10-13T13:59:40.6902836+00:00",
      "StartDate": "2026-10-13T13:59:40.6902836+00:00",
      "SchedulePreferenceDate": "2026-10-13T13:59:40.6902836+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-10-13T13:59:40.6902836+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "537fafb6-1f99-44d1-b523-4c504dd43dcb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5a803693-04e0-463f-928f-09851cad5ee7",
      "Sequence": 1,
      "AncestorCategoryId": "8860c2e3-d172-4115-a99e-d3792e1211e5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "537fafb6-1f99-44d1-b523-4c504dd43dcb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5a803693-04e0-463f-928f-09851cad5ee7",
      "Sequence": 1,
      "AncestorCategoryId": "8860c2e3-d172-4115-a99e-d3792e1211e5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "baa81cb5-1a81-42e7-bc5e-8550620a23d4",
          "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": "7f4802a9-7c9f-4a1d-9dd3-40eb186e9320",
    "CategoryId": "3119f147-f970-4c53-90e1-2a37bd447c4e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b87c2ad8-1aec-448d-87fa-e260fcb1207a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b87c2ad8-1aec-448d-87fa-e260fcb1207a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b0071eeb-2928-4a9b-84af-675702ded6a2",
      "Questions": [
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        },
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b0071eeb-2928-4a9b-84af-675702ded6a2",
      "Questions": [
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        },
        {
          "Id": "1da9ba1e-7f92-4b51-be33-9431d01e0f94",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cf3065e5-dc7e-4684-88fb-8c5c8cd917a7",
      "ContentItemId": "7a9330f9-431e-4e8d-b341-438bc478c43d",
      "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-10-13T13:59:40.6902836+00:00",
      "RescheduleDate": "2026-10-13T13:59:40.6902836+00:00"
    },
    {
      "Id": "cf3065e5-dc7e-4684-88fb-8c5c8cd917a7",
      "ContentItemId": "7a9330f9-431e-4e8d-b341-438bc478c43d",
      "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-10-13T13:59:40.6902836+00:00",
      "RescheduleDate": "2026-10-13T13:59:40.6902836+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}